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.01523/0.01523, allocations: 1.359 MB / 16.32 MB, free: 5.348 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.809e-05, allocations: 4 kB / 23.34 MB, free: 3.961 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000712/0.0007536, allocations: 355.5 kB / 23.68 MB, free: 3.793 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001776/0.002548, allocations: 1.419 MB / 25.1 MB, free: 2.539 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.004461, allocations: 0.8348 MB / 25.94 MB, free: 1.707 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.004799, allocations: 7.938 kB / 25.95 MB, free: 1.699 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.005118, allocations: 103.2 kB / 26.05 MB, free: 1.598 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.006154, allocations: 295.6 kB / 26.34 MB, free: 1.309 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.006346, allocations: 47.94 kB / 26.38 MB, free: 1.262 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0006264/0.00699, allocations: 0.5543 MB / 26.94 MB, free: 0.707 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.007443, allocations: 273.9 kB / 27.2 MB, free: 428 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.0077, allocations: 214.7 kB / 27.41 MB, free: 212 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.008025, allocations: 246.5 kB / 27.65 MB, free: 4.605 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/0.008127, allocations: 20 kB / 27.67 MB, free: 4.586 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.008686, allocations: 207.5 kB / 27.88 MB, free: 4.387 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.008908, allocations: 139.4 kB / 28.01 MB, free: 4.25 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.009087, allocations: 121.3 kB / 28.13 MB, free: 4.125 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000944/0.01005, allocations: 0.6044 MB / 28.74 MB, free: 3.52 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.01007, allocations: 0 / 28.74 MB, free: 3.52 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.545e-06/0.01009, allocations: 0 / 28.74 MB, free: 3.52 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.01012, allocations: 8 kB / 28.74 MB, free: 3.512 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001457/0.01158, allocations: 0.8416 MB / 29.58 MB, free: 2.609 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 0.000103/0.0117, allocations: 12.3 kB / 29.6 MB, free: 2.598 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002557/0.01197, allocations: 147.5 kB / 29.74 MB, free: 2.445 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.01219, allocations: 85.14 kB / 29.82 MB, free: 2.363 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/0.01302, allocations: 419.8 kB / 30.23 MB, free: 1.914 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/0.01313, allocations: 66.33 kB / 30.3 MB, free: 1.848 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.01334, allocations: 92.31 kB / 30.39 MB, free: 1.758 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/0.01644, allocations: 1.219 MB / 31.61 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.0165, allocations: 176 / 31.61 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.01665, allocations: 44.11 kB / 31.65 MB, free: 484 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.01685, allocations: 73.94 kB / 31.72 MB, free: 408 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.02733, allocations: 0.875 MB / 32.6 MB, free: 7.48 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.03139, allocations: 2.42 MB / 35.02 MB, free: 5.91 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.03258, allocations: 0.6513 MB / 35.67 MB, free: 5.238 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/0.03327, allocations: 369.6 kB / 36.03 MB, free: 4.875 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.03373, allocations: 0.6016 MB / 36.63 MB, free: 4.145 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.03378, allocations: 35.62 kB / 36.67 MB, free: 4.102 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 3.357e-06/0.03379, allocations: 0 / 36.67 MB, free: 4.102 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.004458/0.03825, allocations: 1.403 MB / 38.07 MB, free: 2.668 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.0384, allocations: 216.2 kB / 38.28 MB, free: 2.41 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.03887, allocations: 310.3 kB / 38.58 MB, free: 2.098 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.03894, allocations: 41.22 kB / 38.62 MB, free: 2.055 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.03918, allocations: 342.7 kB / 38.96 MB, free: 1.723 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.03932, allocations: 134.7 kB / 39.09 MB, free: 1.594 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.03938, allocations: 19 kB / 39.11 MB, free: 1.578 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.03946, allocations: 342.8 kB / 39.44 MB, free: 1.234 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006986/0.04017, allocations: 312.9 kB / 39.75 MB, free: 0.9297 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/0.04098, allocations: 461.3 kB / 40.2 MB, free: 428 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.0417, allocations: 379.1 kB / 40.57 MB, free: 40 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.04172, allocations: 4 kB / 40.57 MB, free: 36 kB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.01272/0.05445, allocations: 1.061 MB / 41.64 MB, free: 6.117 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 8.768e-05/0.05458, allocations: 86.33 kB / 41.72 MB, free: 6.055 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.05461, allocations: 0.5312 kB / 41.72 MB, free: 6.055 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.05772, allocations: 439.1 kB / 42.15 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.05813, allocations: 80.17 kB / 42.23 MB, free: 6.047 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008414/0.05899, allocations: 0.7706 MB / 43 MB, free: 5.48 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.05945, allocations: 92.05 kB / 43.09 MB, free: 5.43 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.05956, allocations: 33.11 kB / 43.12 MB, free: 5.402 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P2.outTransition[1].arcType,P1.outTransition[1].arcType,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],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * 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.0006065/0.06018, allocations: 386.7 kB / 43.5 MB, free: 5.051 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.06031, allocations: 41.14 kB / 43.54 MB, free: 5.031 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.06256, allocations: 0.9922 MB / 44.53 MB, free: 4.105 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.294e-05/0.06262, allocations: 8 kB / 44.54 MB, free: 4.098 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.06264, allocations: 3.953 kB / 44.54 MB, free: 4.094 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.06266, allocations: 6.172 kB / 44.55 MB, free: 4.09 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003051/0.06572, allocations: 1.656 MB / 46.2 MB, free: 2.395 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.06575, allocations: 4.75 kB / 46.21 MB, free: 2.391 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002883/0.06605, allocations: 43.91 kB / 46.25 MB, free: 2.348 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/0.06758, allocations: 332.5 kB / 46.58 MB, free: 2.02 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.601e-05/0.06767, allocations: 23.94 kB / 46.6 MB, free: 1.996 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008557/0.06854, allocations: 0.8041 MB / 47.4 MB, free: 1.18 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.06857, allocations: 6.25 kB / 47.41 MB, free: 1.176 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.08032, allocations: 1.394 MB / 48.8 MB, free: 5.891 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.48e-05/0.08044, allocations: 111.2 kB / 48.91 MB, free: 5.797 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.08056, allocations: 23.84 kB / 48.93 MB, free: 5.797 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.08095, allocations: 47.14 kB / 48.98 MB, free: 5.797 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.08124, allocations: 115.8 kB / 49.09 MB, free: 5.797 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-05/0.08133, allocations: 26.45 kB / 49.12 MB, free: 5.797 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002285/0.08157, allocations: 192.2 kB / 49.31 MB, free: 5.719 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.6e-07/0.08159, allocations: 0 / 49.31 MB, free: 5.719 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0009054/0.0825, allocations: 242.6 kB / 49.54 MB, free: 5.711 MB / 18.57 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 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * Number of clocked states: 0 () * 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.003516/0.08604, allocations: 2.066 MB / 51.61 MB, free: 4.652 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001976/0.08803, allocations: 0.9571 MB / 52.57 MB, free: 3.812 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.08805, allocations: 0 / 52.57 MB, free: 3.812 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.08908, allocations: 0.5555 MB / 53.12 MB, free: 3.254 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006428/0.08974, allocations: 63.7 kB / 53.19 MB, free: 3.199 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/0.107, allocations: 3.689 MB / 56.87 MB, free: 5.078 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.1075, allocations: 1.014 MB / 57.89 MB, free: 4.379 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0004159/0.108, allocations: 129.9 kB / 58.02 MB, free: 4.379 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.1083, allocations: 216.8 kB / 58.23 MB, free: 4.262 MB / 18.57 MB Notification: Performance of SimCode: time 8.11e-07/0.1083, allocations: 0.5 kB / 58.23 MB, free: 4.262 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/0.157, allocations: 12.53 MB / 70.76 MB, free: 9.484 MB / 24.77 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.1572, allocations: 180.6 kB / 70.93 MB, free: 9.242 MB / 24.77 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.34, allocations: 0 / 70.93 MB, free: 9.242 MB / 24.77 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)