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.008702/0.008702, allocations: 1.33 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.794e-05, allocations: 0 / 19.33 MB, free: 2.008 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007317/0.0007826, allocations: 358.8 kB / 19.68 MB, free: 1.676 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01587/0.01668, allocations: 4.01 MB / 23.69 MB, free: 2.445 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001325/0.01685, allocations: 51.36 kB / 23.74 MB, free: 2.426 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02195/0.03882, allocations: 5.375 MB / 29.12 MB, free: 2.074 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03886, allocations: 0 / 29.12 MB, free: 2.074 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.03889, allocations: 4 kB / 29.12 MB, free: 2.07 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.000863/0.03976, allocations: 0.5118 MB / 29.63 MB, free: 1.512 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.03983, allocations: 12.31 kB / 29.64 MB, free: 1.5 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/0.03994, allocations: 58.7 kB / 29.7 MB, free: 1.434 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.04007, allocations: 28.52 kB / 29.73 MB, free: 1.406 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004667/0.04055, allocations: 252.5 kB / 29.98 MB, free: 1.121 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.04061, allocations: 28.89 kB / 30 MB, free: 1.094 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.04069, allocations: 24.34 kB / 30.03 MB, free: 1.07 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008442/0.04154, allocations: 344.1 kB / 30.36 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.04158, allocations: 7.891 kB / 30.37 MB, free: 0.7109 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.04163, allocations: 12 kB / 30.38 MB, free: 0.6992 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.0417, allocations: 16.55 kB / 30.4 MB, free: 0.6836 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.04228, allocations: 218.2 kB / 30.61 MB, free: 484 kB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/0.05539, allocations: 0.6798 MB / 31.29 MB, free: 2.777 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.0558, allocations: 133.5 kB / 31.42 MB, free: 2.754 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.05601, allocations: 92.94 kB / 31.51 MB, free: 2.746 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004093/0.05644, allocations: 430.1 kB / 31.93 MB, free: 2.277 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.05647, allocations: 33.75 kB / 31.97 MB, free: 2.238 MB / 18.57 MB Notification: Performance of pre-optimization done (n=14): time 2.544e-06/0.05649, allocations: 3.625 kB / 31.97 MB, free: 2.238 MB / 18.57 MB Notification: Performance of matching and sorting (n=14): time 0.0005196/0.05702, allocations: 215.2 kB / 32.18 MB, free: 2.176 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.05708, allocations: 111.7 kB / 32.29 MB, free: 2.051 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.05726, allocations: 153 kB / 32.44 MB, free: 1.945 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.0573, allocations: 29.11 kB / 32.47 MB, free: 1.914 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/0.05739, allocations: 153.3 kB / 32.62 MB, free: 1.805 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.05746, allocations: 48.39 kB / 32.66 MB, free: 1.781 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/0.05749, allocations: 3.438 kB / 32.67 MB, free: 1.781 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.412e-05/0.05756, allocations: 328.2 kB / 32.99 MB, free: 1.469 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.05777, allocations: 79.19 kB / 33.06 MB, free: 1.469 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.05802, allocations: 142.3 kB / 33.2 MB, free: 1.402 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002251/0.05826, allocations: 118.9 kB / 33.32 MB, free: 1.371 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.05828, allocations: 2.906 kB / 33.32 MB, free: 1.371 MB / 18.57 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005873/0.05887, allocations: 286.2 kB / 33.6 MB, free: 1.301 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.05894, allocations: 44.36 kB / 33.65 MB, free: 1.27 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.05896, allocations: 0 / 33.65 MB, free: 1.27 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.05899, allocations: 6.812 kB / 33.65 MB, free: 1.27 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.05924, allocations: 30.11 kB / 33.68 MB, free: 1.27 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.05927, allocations: 2.594 kB / 33.68 MB, free: 1.27 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.05946, allocations: 27.91 kB / 33.71 MB, free: 1.266 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.05952, allocations: 23.28 kB / 33.73 MB, free: 1.262 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 () * 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.0001393/0.05966, allocations: 154.4 kB / 33.88 MB, free: 1.125 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.05973, allocations: 12.41 kB / 33.9 MB, free: 1.121 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000753/0.06049, allocations: 306.1 kB / 34.2 MB, free: 1.051 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.06053, allocations: 3.75 kB / 34.2 MB, free: 1.051 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.06055, allocations: 0 / 34.2 MB, free: 1.051 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.06057, allocations: 5.5 kB / 34.2 MB, free: 1.051 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009204/0.06149, allocations: 0.5812 MB / 34.79 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.06153, allocations: 7.281 kB / 34.79 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.06176, allocations: 25.91 kB / 34.82 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.597e-06/0.06178, allocations: 3.953 kB / 34.82 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.06182, allocations: 6.188 kB / 34.83 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.06184, allocations: 3.562 kB / 34.83 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.06185, allocations: 0 / 34.83 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.06266, allocations: 435.4 kB / 35.26 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.06282, allocations: 95.98 kB / 35.35 MB, free: 6.664 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.182e-05/0.0629, allocations: 11.3 kB / 35.36 MB, free: 6.66 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.06313, allocations: 14.08 kB / 35.38 MB, free: 6.66 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.06329, allocations: 38.83 kB / 35.41 MB, free: 6.66 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.06335, allocations: 15.55 kB / 35.43 MB, free: 6.66 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0001323/0.06349, allocations: 110.7 kB / 35.54 MB, free: 6.586 MB / 24.79 MB Notification: Performance of sort global known variables: time 4.51e-07/0.0635, allocations: 0 / 35.54 MB, free: 6.586 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0005783/0.06409, allocations: 102.6 kB / 35.64 MB, free: 6.582 MB / 24.79 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) * 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.001366/0.06547, allocations: 1.033 MB / 36.67 MB, free: 5.883 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.0006126/0.06611, allocations: 273.2 kB / 36.94 MB, free: 5.82 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.06614, allocations: 0 / 36.94 MB, free: 5.82 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.06644, allocations: 166.8 kB / 37.1 MB, free: 5.754 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.06676, allocations: 19.94 kB / 37.12 MB, free: 5.75 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.06804, allocations: 442.1 kB / 37.55 MB, free: 5.586 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.06849, allocations: 0.7775 MB / 38.33 MB, free: 4.887 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0002662/0.06877, allocations: 67.28 kB / 38.39 MB, free: 4.879 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.06895, allocations: 77.89 kB / 38.47 MB, free: 4.867 MB / 24.79 MB Notification: Performance of SimCode: time 1.103e-06/0.06897, allocations: 0 / 38.47 MB, free: 4.867 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.09819, allocations: 4.385 MB / 42.85 MB, free: 2.035 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.09848, allocations: 128.7 kB / 42.98 MB, free: 1.828 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/2.619, allocations: 0 / 42.98 MB, free: 1.828 MB / 24.79 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)