Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test2.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.Test2,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test2,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.02391/0.02391, allocations: 1.355 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.384e-05, allocations: 0 / 23.32 MB, free: 3.949 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001008/0.001089, allocations: 359.1 kB / 23.67 MB, free: 3.785 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.008753/0.009875, allocations: 4.104 MB / 27.77 MB, free: 4.48 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.01017, allocations: 48.55 kB / 27.82 MB, free: 4.434 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.0461/0.05629, allocations: 5.416 MB / 33.24 MB, free: 4.371 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.465e-06/0.05634, allocations: 0 / 33.24 MB, free: 4.371 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.05637, allocations: 7.703 kB / 33.24 MB, free: 4.371 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008466/0.05723, allocations: 0.5221 MB / 33.77 MB, free: 3.938 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.05729, allocations: 13.39 kB / 33.78 MB, free: 3.938 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.121e-05/0.05739, allocations: 68.38 kB / 33.85 MB, free: 3.898 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.05748, allocations: 25.27 kB / 33.87 MB, free: 3.887 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.05786, allocations: 251.7 kB / 34.12 MB, free: 3.688 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.05791, allocations: 19.31 kB / 34.14 MB, free: 3.688 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.121e-05/0.05798, allocations: 26.12 kB / 34.16 MB, free: 3.688 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007871/0.05878, allocations: 355.5 kB / 34.51 MB, free: 3.633 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.05881, allocations: 0.7188 kB / 34.51 MB, free: 3.633 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.05886, allocations: 16.69 kB / 34.53 MB, free: 3.629 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-05/0.05893, allocations: 26.67 kB / 34.55 MB, free: 3.625 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.05953, allocations: 230.3 kB / 34.78 MB, free: 3.621 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.06097, allocations: 0.6846 MB / 35.46 MB, free: 3.32 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.06148, allocations: 159.2 kB / 35.62 MB, free: 3.297 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/0.06188, allocations: 430.2 kB / 36.04 MB, free: 2.828 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.06192, allocations: 42.3 kB / 36.08 MB, free: 2.785 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 2.926e-06/0.06193, allocations: 0 / 36.08 MB, free: 2.785 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.000865/0.06281, allocations: 375.7 kB / 36.44 MB, free: 2.621 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.06288, allocations: 113.3 kB / 36.56 MB, free: 2.496 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.06306, allocations: 155.8 kB / 36.71 MB, free: 2.387 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.0631, allocations: 36.77 kB / 36.74 MB, free: 2.352 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.0632, allocations: 147.4 kB / 36.89 MB, free: 2.23 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.492e-05/0.06327, allocations: 46.83 kB / 36.93 MB, free: 2.207 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.0633, allocations: 7.281 kB / 36.94 MB, free: 2.207 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.375e-05/0.06337, allocations: 325 kB / 37.26 MB, free: 1.895 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.06362, allocations: 89.55 kB / 37.34 MB, free: 1.895 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002818/0.06392, allocations: 146.6 kB / 37.49 MB, free: 1.824 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.06423, allocations: 124.6 kB / 37.61 MB, free: 1.785 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.06425, allocations: 3.688 kB / 37.61 MB, free: 1.785 MB / 18.57 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006681/0.06493, allocations: 298.6 kB / 37.9 MB, free: 1.703 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.06499, allocations: 41.19 kB / 37.95 MB, free: 1.672 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.06501, allocations: 0 / 37.95 MB, free: 1.672 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.06504, allocations: 6.547 kB / 37.95 MB, free: 1.668 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.06527, allocations: 38.44 kB / 37.99 MB, free: 1.664 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.0653, allocations: 6.531 kB / 38 MB, free: 1.664 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.06549, allocations: 32.16 kB / 38.03 MB, free: 1.652 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.06554, allocations: 11.75 kB / 38.04 MB, free: 1.652 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.P1.fireOut[1],P1.emptying,P1.feeding,P1.outTransition[1].arcType,T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],T1.activation.arcType[1],T1.activation.fed[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 1 * Algorithm blocks: 1 * 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.0002328/0.06578, allocations: 202.9 kB / 38.24 MB, free: 1.504 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/0.06585, allocations: 11.28 kB / 38.25 MB, free: 1.5 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.06664, allocations: 314.7 kB / 38.55 MB, free: 1.418 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.06667, allocations: 7.859 kB / 38.56 MB, free: 1.414 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.06669, allocations: 4 kB / 38.57 MB, free: 1.41 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.0667, allocations: 0 / 38.57 MB, free: 1.41 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009704/0.06768, allocations: 0.6032 MB / 39.17 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.0677, allocations: 0 / 39.17 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.0679, allocations: 20.52 kB / 39.19 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.06792, allocations: 7.891 kB / 39.2 MB, free: 0.9453 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.06796, allocations: 9.297 kB / 39.21 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.06797, allocations: 4 kB / 39.21 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/0.06799, allocations: 4 kB / 39.21 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.06887, allocations: 456.7 kB / 39.66 MB, free: 0.582 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.06893, allocations: 85.05 kB / 39.74 MB, free: 492 kB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.06899, allocations: 9.219 kB / 39.75 MB, free: 484 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.06918, allocations: 23.86 kB / 39.78 MB, free: 464 kB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.06932, allocations: 34.97 kB / 39.81 MB, free: 440 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.06937, allocations: 7.844 kB / 39.82 MB, free: 436 kB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001032/0.06948, allocations: 115.2 kB / 39.93 MB, free: 328 kB / 18.57 MB Notification: Performance of sort global known variables: time 3.4e-07/0.06949, allocations: 0 / 39.93 MB, free: 328 kB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005531/0.07005, allocations: 106.4 kB / 40.03 MB, free: 228 kB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyInputActiveVec[1],P1.fireOut[1],P1.emptying) * Number of discrete states: 3 (P1.fireOut[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 1 * 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.01475/0.08482, allocations: 1.055 MB / 41.09 MB, free: 2.953 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000704/0.08557, allocations: 298.7 kB / 41.38 MB, free: 2.891 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.08559, allocations: 0.6562 kB / 41.38 MB, free: 2.891 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.0859, allocations: 171.5 kB / 41.55 MB, free: 2.828 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.0862, allocations: 24.88 kB / 41.57 MB, free: 2.828 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.0888, allocations: 2.132 MB / 43.7 MB, free: 1.402 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.08908, allocations: 0.7781 MB / 44.48 MB, free: 0.707 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.08933, allocations: 70.86 kB / 44.55 MB, free: 0.707 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.08951, allocations: 73.59 kB / 44.62 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of SimCode: time 1.011e-06/0.08952, allocations: 0 / 44.62 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.1148, allocations: 4.355 MB / 48.98 MB, free: 4.305 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003659/0.1153, allocations: 145.9 kB / 49.12 MB, free: 4.059 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.459/2.574, allocations: 0 / 49.12 MB, free: 4.059 MB / 24.77 MB (rm -f ConPNlib_ConPNlib.Examples.Test2.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test2.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test2.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test2.fmu > ConPNlib_ConPNlib.Examples.Test2.pipe 2>&1)