Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01249/0.01249, allocations: 1.34 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.313e-05/2.317e-05, allocations: 0 / 13.23 MB, free: 2.285 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009031/0.0009744, allocations: 355.5 kB / 13.58 MB, free: 2.254 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.00726/0.008256, allocations: 3.362 MB / 16.94 MB, free: 1.797 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.008515, allocations: 53.91 kB / 16.99 MB, free: 1.746 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.08135/0.08989, allocations: 12.62 MB / 29.61 MB, free: 2.344 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.904e-06/0.08995, allocations: 0 / 29.61 MB, free: 2.344 MB / 13.93 MB Notification: Performance of Transformations before backend: time 7.03e-05/0.09003, allocations: 21.64 kB / 29.63 MB, free: 2.324 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002786/0.09283, allocations: 0.9911 MB / 30.62 MB, free: 1.266 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 7.466e-05/0.09292, allocations: 12.66 kB / 30.63 MB, free: 1.254 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004498/0.09339, allocations: 99.73 kB / 30.73 MB, free: 1.156 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.09513, allocations: 0.5067 MB / 31.24 MB, free: 0.6094 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.09526, allocations: 40.34 kB / 31.28 MB, free: 0.5703 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/0.0956, allocations: 72.34 kB / 31.35 MB, free: 0.5 MB / 13.93 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01757/0.1132, allocations: 0.916 MB / 32.26 MB, free: 1.492 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.1172, allocations: 1.252 MB / 33.52 MB, free: 1.359 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.1173, allocations: 0 / 33.52 MB, free: 1.359 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.1175, allocations: 3.75 kB / 33.52 MB, free: 1.359 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002209/0.1178, allocations: 67.75 kB / 33.59 MB, free: 1.355 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00625/0.124, allocations: 2.299 MB / 35.88 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.1255, allocations: 0.6545 MB / 36.54 MB, free: 204 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000931/0.1264, allocations: 395.1 kB / 36.93 MB, free: 48 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.1278, allocations: 0.8635 MB / 37.79 MB, free: 3.762 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.1279, allocations: 39.81 kB / 37.83 MB, free: 3.719 MB / 18.59 MB Notification: Performance of pre-optimization done (n=52): time 5.25e-06/0.1279, allocations: 0 / 37.83 MB, free: 3.719 MB / 18.59 MB Notification: Performance of matching and sorting (n=52): time 0.00333/0.1312, allocations: 0.7471 MB / 38.57 MB, free: 3.164 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.1315, allocations: 245.9 kB / 38.82 MB, free: 2.883 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006291/0.1322, allocations: 264.1 kB / 39.07 MB, free: 2.645 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.1323, allocations: 39.81 kB / 39.11 MB, free: 2.602 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/0.1329, allocations: 407.3 kB / 39.51 MB, free: 2.25 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003163/0.1332, allocations: 149.2 kB / 39.66 MB, free: 2.117 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.552e-05/0.1333, allocations: 8 kB / 39.66 MB, free: 2.109 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.1336, allocations: 346.6 kB / 40 MB, free: 1.773 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/0.1347, allocations: 317.9 kB / 40.31 MB, free: 1.504 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.136, allocations: 499.2 kB / 40.8 MB, free: 0.9922 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1375, allocations: 334.9 kB / 41.13 MB, free: 0.7383 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.1375, allocations: 4 kB / 41.13 MB, free: 0.7344 MB / 18.59 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.02058/0.1581, allocations: 0.9319 MB / 42.06 MB, free: 4.824 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.1584, allocations: 121.3 kB / 42.18 MB, free: 4.73 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.1584, allocations: 5.812 kB / 42.19 MB, free: 4.73 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/0.1621, allocations: 402.6 kB / 42.58 MB, free: 4.723 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.1628, allocations: 86.53 kB / 42.66 MB, free: 4.723 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.1647, allocations: 0.9179 MB / 43.58 MB, free: 4.207 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008724/0.1656, allocations: 80.5 kB / 43.66 MB, free: 4.207 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.1658, allocations: 50.28 kB / 43.71 MB, free: 4.207 MB / 18.59 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P2.emptying,P3.emptying,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T2.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005582/0.1664, allocations: 274.3 kB / 43.98 MB, free: 3.996 MB / 18.59 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003117/0.1696, allocations: 0.7763 MB / 44.75 MB, free: 3.953 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.1698, allocations: 44.06 kB / 44.8 MB, free: 3.953 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.1736, allocations: 0.9341 MB / 45.73 MB, free: 3.906 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.047e-05/0.1737, allocations: 7.562 kB / 45.74 MB, free: 3.906 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.1737, allocations: 0 / 45.74 MB, free: 3.906 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.1738, allocations: 6.844 kB / 45.75 MB, free: 3.906 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/0.1788, allocations: 1.494 MB / 47.24 MB, free: 3.559 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.1788, allocations: 2.719 kB / 47.24 MB, free: 3.559 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.1793, allocations: 51.38 kB / 47.29 MB, free: 3.547 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.1813, allocations: 373.2 kB / 47.66 MB, free: 3.277 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.1815, allocations: 19.52 kB / 47.68 MB, free: 3.262 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00167/0.1832, allocations: 0.9635 MB / 48.64 MB, free: 2.371 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.1833, allocations: 224 / 48.64 MB, free: 2.371 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.1872, allocations: 1.338 MB / 49.98 MB, free: 1.203 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1874, allocations: 112.2 kB / 50.09 MB, free: 1.102 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.1876, allocations: 23.11 kB / 50.11 MB, free: 1.086 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.1882, allocations: 42.56 kB / 50.15 MB, free: 1.051 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004807/0.1887, allocations: 152.7 kB / 50.3 MB, free: 0.9492 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.1889, allocations: 34.7 kB / 50.33 MB, free: 0.9219 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0002382/0.1891, allocations: 170.7 kB / 50.5 MB, free: 0.7656 MB / 18.59 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1892, allocations: 0 / 50.5 MB, free: 0.7656 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.001528/0.1907, allocations: 253.7 kB / 50.75 MB, free: 0.5625 MB / 18.59 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.02205/0.2128, allocations: 2.032 MB / 52.78 MB, free: 4.504 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.2158, allocations: 1.074 MB / 53.85 MB, free: 4.309 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.2159, allocations: 1.75 kB / 53.86 MB, free: 4.309 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.2174, allocations: 0.6482 MB / 54.5 MB, free: 4.113 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.2181, allocations: 44.58 kB / 54.55 MB, free: 4.113 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.224, allocations: 1.586 MB / 56.13 MB, free: 3.664 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/0.2252, allocations: 1.102 MB / 57.24 MB, free: 2.84 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0006689/0.2259, allocations: 116.6 kB / 57.35 MB, free: 2.777 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.2265, allocations: 255.7 kB / 57.6 MB, free: 2.551 MB / 18.59 MB Notification: Performance of SimCode: time 1.803e-06/0.2265, allocations: 0 / 57.6 MB, free: 2.551 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09248/0.319, allocations: 13.9 MB / 71.5 MB, free: 2.742 MB / 18.59 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.3193, allocations: 98.59 kB / 71.6 MB, free: 2.645 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.299, allocations: 6.906 kB / 71.61 MB, free: 2.641 MB / 18.59 MB (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test12.fmu > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)