Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: "" <> buildModelFMU(ConPNlib.Examples.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00985/0.00985, allocations: 1.365 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.272e-05, allocations: 4 kB / 23.34 MB, free: 3.977 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003145/0.0003419, allocations: 356.4 kB / 23.68 MB, free: 3.812 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001211/0.00156, allocations: 1.78 MB / 25.47 MB, free: 2.18 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.002654, allocations: 0.9444 MB / 26.41 MB, free: 1.234 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.002855, allocations: 12.66 kB / 26.42 MB, free: 1.223 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.003062, allocations: 131 kB / 26.55 MB, free: 1.094 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.00367, allocations: 344.7 kB / 26.89 MB, free: 0.7578 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.677e-05/0.003777, allocations: 56.64 kB / 26.94 MB, free: 0.7031 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.004213, allocations: 0.705 MB / 27.65 MB, free: 4.637 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.004627, allocations: 354 kB / 27.99 MB, free: 4.277 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.004851, allocations: 274.3 kB / 28.26 MB, free: 4.008 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.005127, allocations: 290 kB / 28.54 MB, free: 3.723 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.048e-05/0.005196, allocations: 27.98 kB / 28.57 MB, free: 3.695 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.005504, allocations: 207.6 kB / 28.77 MB, free: 3.492 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.005648, allocations: 171.2 kB / 28.94 MB, free: 3.324 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.005766, allocations: 149.2 kB / 29.09 MB, free: 3.172 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000612/0.006384, allocations: 0.7447 MB / 29.83 MB, free: 2.426 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.006399, allocations: 8 kB / 29.84 MB, free: 2.418 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006405, allocations: 0 / 29.84 MB, free: 2.418 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.00642, allocations: 0 / 29.84 MB, free: 2.418 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00101/0.007435, allocations: 1.002 MB / 30.84 MB, free: 1.352 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.007475, allocations: 12.23 kB / 30.85 MB, free: 1.34 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001733/0.007654, allocations: 186.9 kB / 31.04 MB, free: 1.148 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.007809, allocations: 115.6 kB / 31.15 MB, free: 1.035 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.008375, allocations: 496.7 kB / 31.63 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.419e-05/0.008457, allocations: 86.59 kB / 31.72 MB, free: 432 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.008589, allocations: 120.3 kB / 31.84 MB, free: 312 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.01507, allocations: 1.578 MB / 33.41 MB, free: 7.07 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.01511, allocations: 3.453 kB / 33.42 MB, free: 7.07 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.0152, allocations: 59.03 kB / 33.47 MB, free: 7.035 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001063/0.01531, allocations: 103.8 kB / 33.58 MB, free: 7.004 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.01665, allocations: 1.121 MB / 34.7 MB, free: 6.074 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/0.01949, allocations: 3.469 MB / 38.17 MB, free: 2.457 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.02028, allocations: 0.67 MB / 38.84 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.02073, allocations: 446.7 kB / 39.27 MB, free: 1.32 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.02107, allocations: 0.6008 MB / 39.87 MB, free: 0.5938 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.0211, allocations: 38.94 kB / 39.91 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/0.02111, allocations: 0 / 39.91 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.008034/0.02915, allocations: 1.095 MB / 41.01 MB, free: 6.289 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.02931, allocations: 267 kB / 41.27 MB, free: 6.008 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.02985, allocations: 419.7 kB / 41.68 MB, free: 5.898 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.02991, allocations: 40.89 kB / 41.72 MB, free: 5.867 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.03014, allocations: 454.6 kB / 42.16 MB, free: 5.629 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.03025, allocations: 163.9 kB / 42.32 MB, free: 5.535 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/0.03029, allocations: 17.16 kB / 42.34 MB, free: 5.535 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/0.03037, allocations: 357.6 kB / 42.69 MB, free: 5.215 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005846/0.03097, allocations: 380.4 kB / 43.06 MB, free: 5.109 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/0.03162, allocations: 0.5984 MB / 43.66 MB, free: 4.742 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/0.03222, allocations: 454.7 kB / 44.1 MB, free: 4.543 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.03223, allocations: 0 / 44.1 MB, free: 4.543 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001517/0.03376, allocations: 1.13 MB / 45.23 MB, free: 3.602 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.03383, allocations: 83.38 kB / 45.31 MB, free: 3.508 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.03384, allocations: 14.78 kB / 45.33 MB, free: 3.5 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.03387, allocations: 12.42 kB / 45.34 MB, free: 3.488 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.0342, allocations: 127.8 kB / 45.46 MB, free: 3.363 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.03422, allocations: 12 kB / 45.47 MB, free: 3.352 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.03454, allocations: 124.1 kB / 45.6 MB, free: 3.23 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.03462, allocations: 42.48 kB / 45.64 MB, free: 3.191 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.arcType[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004374/0.03506, allocations: 451.8 kB / 46.08 MB, free: 2.73 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.03514, allocations: 47.53 kB / 46.12 MB, free: 2.684 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.03633, allocations: 0.9475 MB / 47.07 MB, free: 1.719 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.783e-05/0.03637, allocations: 11.98 kB / 47.08 MB, free: 1.707 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.03638, allocations: 0 / 47.08 MB, free: 1.707 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.03639, allocations: 5.062 kB / 47.09 MB, free: 1.703 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009288/0.04568, allocations: 1.743 MB / 48.83 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.04572, allocations: 5.438 kB / 48.84 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.04601, allocations: 79.14 kB / 48.91 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.04603, allocations: 7.75 kB / 48.92 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/0.04608, allocations: 19.41 kB / 48.94 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.04609, allocations: 3.875 kB / 48.95 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.0461, allocations: 2 kB / 48.95 MB, free: 5.258 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.04775, allocations: 1.412 MB / 50.36 MB, free: 4.953 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.04783, allocations: 123.8 kB / 50.48 MB, free: 4.859 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.04793, allocations: 34.23 kB / 50.51 MB, free: 4.848 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.04818, allocations: 53.56 kB / 50.57 MB, free: 4.84 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.04839, allocations: 129.9 kB / 50.69 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.015e-05/0.04846, allocations: 31.52 kB / 50.72 MB, free: 4.809 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002195/0.04869, allocations: 250 kB / 50.97 MB, free: 4.676 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.2e-07/0.04869, allocations: 3.875 kB / 50.97 MB, free: 4.676 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007086/0.04941, allocations: 289.3 kB / 51.25 MB, free: 4.586 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001924/0.05134, allocations: 2.06 MB / 53.31 MB, free: 2.652 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.05258, allocations: 1.129 MB / 54.44 MB, free: 1.516 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.0526, allocations: 1.219 kB / 54.44 MB, free: 1.516 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005822/0.05318, allocations: 0.6072 MB / 55.05 MB, free: 0.8867 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.05361, allocations: 75.61 kB / 55.13 MB, free: 0.8125 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.06545, allocations: 4.645 MB / 59.77 MB, free: 3.34 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.06599, allocations: 1.105 MB / 60.88 MB, free: 8.598 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0004351/0.06644, allocations: 263.4 kB / 61.13 MB, free: 8.359 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.06677, allocations: 331.3 kB / 61.46 MB, free: 8.039 MB / 24.96 MB Notification: Performance of SimCode: time 4.61e-07/0.06678, allocations: 0 / 61.46 MB, free: 8.039 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.09864, allocations: 13.44 MB / 74.9 MB, free: 6.375 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001116/0.09878, allocations: 147.1 kB / 75.04 MB, free: 6.137 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/2.435, allocations: 0 / 75.04 MB, free: 6.137 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test10_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test10.fmu > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)