Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01735/0.01735, allocations: 1.357 MB / 16.3 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.936e-05, allocations: 4 kB / 23.32 MB, free: 3.992 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006571/0.0006999, allocations: 355.6 kB / 23.67 MB, free: 3.832 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004536/0.005249, allocations: 4.101 MB / 27.77 MB, free: 4.508 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001546/0.005442, allocations: 51.98 kB / 27.82 MB, free: 4.457 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03947/0.04493, allocations: 6.971 MB / 34.79 MB, free: 4.438 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.874e-06/0.04497, allocations: 0 / 34.79 MB, free: 4.438 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.04501, allocations: 9.969 kB / 34.8 MB, free: 4.434 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008928/0.04591, allocations: 0.638 MB / 35.44 MB, free: 3.945 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.04596, allocations: 7.141 kB / 35.45 MB, free: 3.945 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/0.04609, allocations: 86.3 kB / 35.53 MB, free: 3.906 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.04621, allocations: 46.23 kB / 35.58 MB, free: 3.887 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/0.04673, allocations: 321.6 kB / 35.89 MB, free: 3.664 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.04678, allocations: 36.2 kB / 35.93 MB, free: 3.664 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-05/0.04689, allocations: 45.69 kB / 35.97 MB, free: 3.664 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.0482, allocations: 0.6188 MB / 36.59 MB, free: 3.586 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.04824, allocations: 1.125 kB / 36.59 MB, free: 3.586 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.539e-05/0.04832, allocations: 26.59 kB / 36.62 MB, free: 3.582 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.37e-05/0.0484, allocations: 27.22 kB / 36.64 MB, free: 3.582 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.04947, allocations: 435 kB / 37.07 MB, free: 3.578 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.05146, allocations: 1.143 MB / 38.21 MB, free: 2.836 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007322/0.05221, allocations: 346 kB / 38.55 MB, free: 2.504 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005224/0.05275, allocations: 0.5955 MB / 39.15 MB, free: 1.793 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.05278, allocations: 42.52 kB / 39.19 MB, free: 1.742 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.906e-06/0.0528, allocations: 0 / 39.19 MB, free: 1.742 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.001272/0.05408, allocations: 0.5264 MB / 39.71 MB, free: 1.188 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.05416, allocations: 148.5 kB / 39.86 MB, free: 1.012 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.05441, allocations: 212.1 kB / 40.07 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.05446, allocations: 33.7 kB / 40.1 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.05461, allocations: 218.3 kB / 40.31 MB, free: 0.5469 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.998e-05/0.0547, allocations: 77.25 kB / 40.39 MB, free: 488 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.05475, allocations: 8 kB / 40.4 MB, free: 480 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.05483, allocations: 326.8 kB / 40.71 MB, free: 144 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01419/0.06903, allocations: 143.7 kB / 40.85 MB, free: 3.207 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.06969, allocations: 258.9 kB / 41.11 MB, free: 3.09 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.07015, allocations: 198.7 kB / 41.3 MB, free: 3.059 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.07017, allocations: 1.156 kB / 41.3 MB, free: 3.059 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001137/0.07131, allocations: 475.2 kB / 41.77 MB, free: 2.988 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.07139, allocations: 45.11 kB / 41.81 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.07141, allocations: 4.938 kB / 41.82 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.07144, allocations: 7.438 kB / 41.82 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.07175, allocations: 57.95 kB / 41.88 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.07177, allocations: 10.34 kB / 41.89 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.07205, allocations: 53.41 kB / 41.94 MB, free: 2.957 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.07212, allocations: 20.47 kB / 41.96 MB, free: 2.957 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * 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.0003557/0.07249, allocations: 256 kB / 42.21 MB, free: 2.812 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.07257, allocations: 20.47 kB / 42.23 MB, free: 2.812 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.07365, allocations: 425.7 kB / 42.65 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/0.07369, allocations: 7.203 kB / 42.65 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.07371, allocations: 0 / 42.65 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.07372, allocations: 0 / 42.65 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.07513, allocations: 0.8161 MB / 43.47 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.07515, allocations: 0 / 43.47 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.07541, allocations: 39.2 kB / 43.51 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.07542, allocations: 2.375 kB / 43.51 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.07547, allocations: 12.33 kB / 43.52 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.07548, allocations: 7.062 kB / 43.53 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.07549, allocations: 0 / 43.53 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.07736, allocations: 0.6403 MB / 44.17 MB, free: 2.234 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.07746, allocations: 92.95 kB / 44.26 MB, free: 2.141 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.746e-05/0.07757, allocations: 12.59 kB / 44.27 MB, free: 2.141 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.07795, allocations: 26.95 kB / 44.3 MB, free: 2.141 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.07823, allocations: 64.56 kB / 44.36 MB, free: 2.141 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.07831, allocations: 9.609 kB / 44.37 MB, free: 2.141 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002126/0.07854, allocations: 148.9 kB / 44.52 MB, free: 2.066 MB / 18.57 MB Notification: Performance of sort global known variables: time 7.01e-07/0.07856, allocations: 0 / 44.52 MB, free: 2.066 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.001071/0.07964, allocations: 159.4 kB / 44.67 MB, free: 2.066 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.002642/0.0823, allocations: 1.292 MB / 45.97 MB, free: 1.324 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001446/0.08378, allocations: 479.8 kB / 46.43 MB, free: 1.012 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.0838, allocations: 3.156 kB / 46.44 MB, free: 1.012 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006708/0.08449, allocations: 264.7 kB / 46.7 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.08498, allocations: 31.3 kB / 46.73 MB, free: 0.7461 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006965/0.09197, allocations: 3.797 MB / 50.52 MB, free: 3.281 MB / 24.77 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/0.09277, allocations: 0.8516 MB / 51.38 MB, free: 2.469 MB / 24.77 MB Notification: Performance of simCode: alias equations: time 0.0005075/0.0933, allocations: 84.75 kB / 51.46 MB, free: 2.418 MB / 24.77 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003838/0.09371, allocations: 120.2 kB / 51.58 MB, free: 2.316 MB / 24.77 MB Notification: Performance of SimCode: time 1.233e-06/0.09373, allocations: 4 kB / 51.58 MB, free: 2.312 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04724/0.141, allocations: 6.621 MB / 58.2 MB, free: 7.148 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.1413, allocations: 151.6 kB / 58.35 MB, free: 6.898 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/2.733, allocations: 0 / 58.35 MB, free: 6.898 MB / 24.77 MB (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test7.fmu > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)