Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01298/0.01298, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.581e-05/2.635e-05, allocations: 1.5 kB / 13.23 MB, free: 2.207 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008957/0.0009722, allocations: 356.1 kB / 13.58 MB, free: 2.176 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.007581/0.008587, allocations: 3.359 MB / 16.94 MB, free: 1.777 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.008866, allocations: 47.98 kB / 16.99 MB, free: 1.73 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.0766/0.08549, allocations: 10.64 MB / 27.63 MB, free: 3.703 MB / 14.12 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08554, allocations: 0 / 27.63 MB, free: 3.703 MB / 14.12 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.0856, allocations: 14.16 kB / 27.65 MB, free: 3.703 MB / 14.12 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001762/0.08737, allocations: 0.8598 MB / 28.51 MB, free: 3.109 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.08744, allocations: 9.188 kB / 28.52 MB, free: 3.109 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.08775, allocations: 86.55 kB / 28.6 MB, free: 3.07 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.08884, allocations: 456.4 kB / 29.05 MB, free: 2.762 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.473e-05/0.08893, allocations: 32.34 kB / 29.08 MB, free: 2.73 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.08913, allocations: 58.17 kB / 29.13 MB, free: 2.676 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/0.09119, allocations: 0.7421 MB / 29.88 MB, free: 2.027 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002601/0.09383, allocations: 1.024 MB / 30.9 MB, free: 1.141 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.09395, allocations: 0 / 30.9 MB, free: 1.141 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.09407, allocations: 7.953 kB / 30.91 MB, free: 1.133 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.09426, allocations: 61.95 kB / 30.97 MB, free: 1.074 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.109, allocations: 1.858 MB / 32.83 MB, free: 2.293 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009428/0.11, allocations: 0.5587 MB / 33.38 MB, free: 2.078 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.1106, allocations: 318.4 kB / 33.7 MB, free: 2.07 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000945/0.1116, allocations: 1.03 MB / 34.73 MB, free: 0.9453 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1116, allocations: 39.19 kB / 34.76 MB, free: 0.9062 MB / 14.12 MB Notification: Performance of pre-optimization done (n=42): time 4.018e-06/0.1116, allocations: 0 / 34.76 MB, free: 0.9062 MB / 14.12 MB Notification: Performance of matching and sorting (n=42): time 0.001888/0.1135, allocations: 0.5921 MB / 35.36 MB, free: 0.8555 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/0.1137, allocations: 210.2 kB / 35.56 MB, free: 0.6367 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.1141, allocations: 245.2 kB / 35.8 MB, free: 0.5273 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 7.243e-05/0.1142, allocations: 37.23 kB / 35.84 MB, free: 0.4961 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.1144, allocations: 336.5 kB / 36.17 MB, free: 312 kB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.1146, allocations: 133.5 kB / 36.3 MB, free: 232 kB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.1147, allocations: 4 kB / 36.3 MB, free: 232 kB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1148, allocations: 341.3 kB / 36.63 MB, free: 4.652 MB / 18.86 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.1154, allocations: 258.6 kB / 36.89 MB, free: 4.586 MB / 18.86 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.1161, allocations: 423.2 kB / 37.3 MB, free: 4.301 MB / 18.86 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.117, allocations: 279 kB / 37.57 MB, free: 4.223 MB / 18.86 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.117, allocations: 0 / 37.57 MB, free: 4.223 MB / 18.86 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002234/0.1193, allocations: 0.766 MB / 38.34 MB, free: 3.793 MB / 18.86 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1195, allocations: 90.42 kB / 38.43 MB, free: 3.699 MB / 18.86 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.1195, allocations: 5.094 kB / 38.43 MB, free: 3.695 MB / 18.86 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/0.1229, allocations: 400.6 kB / 38.82 MB, free: 3.402 MB / 18.86 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.1235, allocations: 82.22 kB / 38.9 MB, free: 3.336 MB / 18.86 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.125, allocations: 0.8315 MB / 39.73 MB, free: 2.551 MB / 18.86 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.1256, allocations: 57.97 kB / 39.79 MB, free: 2.5 MB / 18.86 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.1258, allocations: 50.42 kB / 39.84 MB, free: 2.457 MB / 18.86 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] P1.prelimSpeedOut[1]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [1] P2.prelimSpeedOut[1]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[1].arcType,P2.outTransition[1].arcType,P3.emptying,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.000473/0.1262, allocations: 227.1 kB / 40.06 MB, free: 2.23 MB / 18.86 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001953/0.1282, allocations: 0.6085 MB / 40.67 MB, free: 1.703 MB / 18.86 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.1284, allocations: 39.58 kB / 40.71 MB, free: 1.664 MB / 18.86 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.1307, allocations: 0.7085 MB / 41.42 MB, free: 1.078 MB / 18.86 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.704e-05/0.1308, allocations: 8 kB / 41.42 MB, free: 1.07 MB / 18.86 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.1308, allocations: 6.828 kB / 41.43 MB, free: 1.066 MB / 18.86 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1308, allocations: 3.188 kB / 41.43 MB, free: 1.066 MB / 18.86 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.134, allocations: 1.216 MB / 42.65 MB, free: 20 kB / 18.86 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.134, allocations: 0 / 42.65 MB, free: 20 kB / 18.86 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.1345, allocations: 47.5 kB / 42.7 MB, free: 0 / 18.86 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01266/0.1472, allocations: 310.6 kB / 43 MB, free: 6.703 MB / 18.86 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/0.1474, allocations: 17.58 kB / 43.02 MB, free: 6.703 MB / 18.86 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/0.1487, allocations: 0.8547 MB / 43.87 MB, free: 6.188 MB / 18.86 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.1487, allocations: 0 / 43.87 MB, free: 6.188 MB / 18.86 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.1512, allocations: 1.08 MB / 44.95 MB, free: 6.047 MB / 18.86 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.1514, allocations: 103.7 kB / 45.05 MB, free: 5.953 MB / 18.86 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.1515, allocations: 18.19 kB / 45.07 MB, free: 5.953 MB / 18.86 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.1519, allocations: 44.19 kB / 45.11 MB, free: 5.953 MB / 18.86 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/0.1523, allocations: 113.7 kB / 45.23 MB, free: 5.953 MB / 18.86 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.915e-05/0.1524, allocations: 33.11 kB / 45.26 MB, free: 5.953 MB / 18.86 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1526, allocations: 149.2 kB / 45.4 MB, free: 5.875 MB / 18.86 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1526, allocations: 3.438 kB / 45.41 MB, free: 5.875 MB / 18.86 MB Notification: Performance of remove unused functions: time 0.0009395/0.1536, allocations: 218.1 kB / 45.62 MB, free: 5.875 MB / 18.86 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 14 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003183/0.1567, allocations: 1.768 MB / 47.39 MB, free: 5.113 MB / 18.86 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.1587, allocations: 0.8731 MB / 48.26 MB, free: 4.34 MB / 18.86 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.1587, allocations: 3.688 kB / 48.27 MB, free: 4.34 MB / 18.86 MB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.1596, allocations: 0.5204 MB / 48.79 MB, free: 3.852 MB / 18.86 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.1601, allocations: 31.58 kB / 48.82 MB, free: 3.824 MB / 18.86 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.1633, allocations: 1.291 MB / 50.11 MB, free: 2.711 MB / 18.86 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.164, allocations: 1.044 MB / 51.15 MB, free: 1.785 MB / 18.86 MB Notification: Performance of simCode: alias equations: time 0.0003886/0.1644, allocations: 92.09 kB / 51.24 MB, free: 1.734 MB / 18.86 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.1647, allocations: 207.8 kB / 51.44 MB, free: 1.551 MB / 18.86 MB Notification: Performance of SimCode: time 1.203e-06/0.1647, allocations: 0 / 51.44 MB, free: 1.551 MB / 18.86 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0758/0.2405, allocations: 11.69 MB / 63.13 MB, free: 4.293 MB / 18.86 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.2408, allocations: 99.83 kB / 63.23 MB, free: 4.199 MB / 18.86 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.89/3.131, allocations: 4 kB / 63.23 MB, free: 4.195 MB / 18.86 MB (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test9_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test9.fmu > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)