Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test3,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005512/0.005513, allocations: 1.367 MB / 16.64 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.162e-05/2.173e-05, allocations: 0 / 23.8 MB, free: 3.66 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007435/0.0007891, allocations: 364.5 kB / 24.16 MB, free: 3.316 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0009301/0.001734, allocations: 0.74 MB / 24.9 MB, free: 2.578 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.003067, allocations: 0.5866 MB / 25.48 MB, free: 1.992 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.003226, allocations: 6.156 kB / 25.49 MB, free: 1.988 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.003419, allocations: 43.72 kB / 25.53 MB, free: 1.945 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006233/0.004051, allocations: 183.4 kB / 25.71 MB, free: 1.766 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.035e-05/0.004143, allocations: 33.23 kB / 25.75 MB, free: 1.734 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.004376, allocations: 215.5 kB / 25.96 MB, free: 1.523 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.00453, allocations: 70.69 kB / 26.02 MB, free: 1.453 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.004623, allocations: 95.44 kB / 26.12 MB, free: 1.359 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.004764, allocations: 83.42 kB / 26.2 MB, free: 1.277 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.004795, allocations: 8 kB / 26.21 MB, free: 1.27 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.004999, allocations: 135.8 kB / 26.34 MB, free: 1.137 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.00506, allocations: 39.78 kB / 26.38 MB, free: 1.098 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 7.973e-05/0.005147, allocations: 101.2 kB / 26.48 MB, free: 0.9922 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.005443, allocations: 279.2 kB / 26.75 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.005455, allocations: 4 kB / 26.75 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005462, allocations: 0 / 26.75 MB, free: 0.7148 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.005474, allocations: 0 / 26.75 MB, free: 0.7148 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0005298/0.006009, allocations: 492.2 kB / 27.23 MB, free: 184 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.006062, allocations: 12.91 kB / 27.25 MB, free: 172 kB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.345e-05/0.006121, allocations: 62.73 kB / 27.31 MB, free: 100 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.006174, allocations: 21.91 kB / 27.33 MB, free: 80 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000317/0.006497, allocations: 240 kB / 27.56 MB, free: 4.465 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.006534, allocations: 16.94 kB / 27.58 MB, free: 4.449 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.00659, allocations: 28.36 kB / 27.61 MB, free: 4.422 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.007185, allocations: 348.7 kB / 27.95 MB, free: 4.066 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.007211, allocations: 9.719 kB / 27.96 MB, free: 4.059 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.007242, allocations: 7.984 kB / 27.97 MB, free: 4.051 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.105e-05/0.007299, allocations: 24.42 kB / 27.99 MB, free: 4.027 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.007761, allocations: 225.6 kB / 28.21 MB, free: 3.809 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.009109, allocations: 0.9181 MB / 29.13 MB, free: 2.793 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.009393, allocations: 138.5 kB / 29.26 MB, free: 2.648 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.009555, allocations: 84.81 kB / 29.35 MB, free: 2.562 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/0.009943, allocations: 437.5 kB / 29.77 MB, free: 2.043 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.009993, allocations: 34.56 kB / 29.81 MB, free: 2 MB / 18.59 MB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.01, allocations: 0 / 29.81 MB, free: 2 MB / 18.59 MB Notification: Performance of matching and sorting (n=13): time 0.0006257/0.01063, allocations: 307.2 kB / 30.11 MB, free: 1.688 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.01072, allocations: 106.8 kB / 30.21 MB, free: 1.559 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.01088, allocations: 166.7 kB / 30.37 MB, free: 1.383 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01091, allocations: 29.7 kB / 30.4 MB, free: 1.348 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01103, allocations: 144 kB / 30.54 MB, free: 1.203 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.01108, allocations: 43.45 kB / 30.59 MB, free: 1.16 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.01109, allocations: 0 / 30.59 MB, free: 1.16 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.01125, allocations: 322.8 kB / 30.9 MB, free: 0.8359 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.01141, allocations: 84.28 kB / 30.98 MB, free: 0.7539 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.01161, allocations: 129 kB / 31.11 MB, free: 0.6133 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.01195, allocations: 236.2 kB / 31.34 MB, free: 364 kB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01197, allocations: 0 / 31.34 MB, free: 364 kB / 18.59 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004625/0.01243, allocations: 294.9 kB / 31.63 MB, free: 56 kB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 4.903e-05/0.01249, allocations: 41.8 kB / 31.67 MB, free: 8 kB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.01251, allocations: 3.938 kB / 31.67 MB, free: 4 kB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01253, allocations: 0 / 31.67 MB, free: 4 kB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007667/0.0202, allocations: 25.69 kB / 31.7 MB, free: 7.242 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.02025, allocations: 3.266 kB / 31.7 MB, free: 7.242 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.0204, allocations: 28.83 kB / 31.73 MB, free: 7.242 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.02044, allocations: 11.2 kB / 31.74 MB, free: 7.242 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.P1.fireIn[1],P1.feeding,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[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 (19): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.02069, allocations: 194.9 kB / 31.93 MB, free: 7.098 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.0208, allocations: 14.34 kB / 31.95 MB, free: 7.098 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.02139, allocations: 297.8 kB / 32.24 MB, free: 7.027 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.02142, allocations: 4.953 kB / 32.24 MB, free: 7.027 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.02143, allocations: 0 / 32.24 MB, free: 7.027 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.02144, allocations: 5.172 kB / 32.25 MB, free: 7.027 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.02222, allocations: 0.614 MB / 32.86 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.02223, allocations: 0 / 32.86 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.02234, allocations: 25.98 kB / 32.89 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.02236, allocations: 0 / 32.89 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.02238, allocations: 7.781 kB / 32.89 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02239, allocations: 0 / 32.89 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02239, allocations: 0 / 32.89 MB, free: 6.703 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.02295, allocations: 455 kB / 33.34 MB, free: 6.539 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 3.13e-05/0.02299, allocations: 87.91 kB / 33.42 MB, free: 6.445 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.02303, allocations: 8.953 kB / 33.43 MB, free: 6.445 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.02313, allocations: 15.66 kB / 33.45 MB, free: 6.445 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.02325, allocations: 39.19 kB / 33.49 MB, free: 6.445 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.02328, allocations: 7.594 kB / 33.49 MB, free: 6.445 MB / 18.59 MB Notification: Performance of sorting global known variables: time 7.568e-05/0.02336, allocations: 113 kB / 33.6 MB, free: 6.367 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02337, allocations: 3.656 kB / 33.61 MB, free: 6.367 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0004149/0.02378, allocations: 84.91 kB / 33.69 MB, free: 6.367 MB / 18.59 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.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P1.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008826/0.02468, allocations: 1.028 MB / 34.72 MB, free: 5.664 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.02507, allocations: 278.5 kB / 34.99 MB, free: 5.441 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.02509, allocations: 4.734 kB / 34.99 MB, free: 5.441 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.02525, allocations: 151.3 kB / 35.14 MB, free: 5.281 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.02554, allocations: 20.16 kB / 35.16 MB, free: 5.262 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.02783, allocations: 2.333 MB / 37.49 MB, free: 2.836 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.02805, allocations: 0.7592 MB / 38.25 MB, free: 2.051 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.000145/0.02821, allocations: 82.3 kB / 38.33 MB, free: 1.969 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.02832, allocations: 67.39 kB / 38.4 MB, free: 1.906 MB / 18.59 MB Notification: Performance of SimCode: time 2.5e-07/0.02832, allocations: 3.719 kB / 38.4 MB, free: 1.906 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.05015, allocations: 3.95 MB / 42.35 MB, free: 5.344 MB / 18.59 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/0.05033, allocations: 159.6 kB / 42.51 MB, free: 5.09 MB / 18.59 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/1.857, allocations: 4 kB / 42.51 MB, free: 5.086 MB / 18.59 MB (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test3.fmu > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)