Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test6,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01482/0.01482, allocations: 1.33 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.745e-05, allocations: 0 / 19.32 MB, free: 1.895 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008681/0.0009151, allocations: 368 kB / 19.68 MB, free: 1.551 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02305/0.02399, allocations: 4.007 MB / 23.69 MB, free: 2.293 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000157/0.0242, allocations: 50.3 kB / 23.74 MB, free: 2.273 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.0392/0.06342, allocations: 6.921 MB / 30.66 MB, free: 336 kB / 18.57 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06346, allocations: 0 / 30.66 MB, free: 336 kB / 18.57 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.0635, allocations: 8 kB / 30.67 MB, free: 328 kB / 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.0131/0.07661, allocations: 0.6121 MB / 31.28 MB, free: 2.613 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.07669, allocations: 8.719 kB / 31.29 MB, free: 2.613 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000234/0.07693, allocations: 90.83 kB / 31.38 MB, free: 2.574 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.07708, allocations: 42.61 kB / 31.42 MB, free: 2.555 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.0777, allocations: 318.2 kB / 31.73 MB, free: 2.355 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.07778, allocations: 36.59 kB / 31.77 MB, free: 2.352 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.07789, allocations: 46.94 kB / 31.81 MB, free: 2.352 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.07926, allocations: 0.603 MB / 32.41 MB, free: 2.27 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.07933, allocations: 0 / 32.41 MB, free: 2.27 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.07944, allocations: 28.44 kB / 32.44 MB, free: 2.266 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.449e-05/0.07955, allocations: 37.97 kB / 32.48 MB, free: 2.266 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009469/0.08051, allocations: 396.8 kB / 32.87 MB, free: 2.262 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.08298, allocations: 1.143 MB / 34.01 MB, free: 1.844 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.08365, allocations: 308.7 kB / 34.31 MB, free: 1.719 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.084, allocations: 158.4 kB / 34.47 MB, free: 1.711 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005868/0.0846, allocations: 0.6051 MB / 35.07 MB, free: 1.051 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.08465, allocations: 40.81 kB / 35.11 MB, free: 1.012 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 3.397e-06/0.08466, allocations: 0 / 35.11 MB, free: 1.012 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0008015/0.08547, allocations: 303.8 kB / 35.41 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/0.08556, allocations: 152.2 kB / 35.56 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.08585, allocations: 204.1 kB / 35.76 MB, free: 0.6758 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.0859, allocations: 32.45 kB / 35.79 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.08606, allocations: 221.9 kB / 36 MB, free: 0.5039 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.08615, allocations: 70.67 kB / 36.07 MB, free: 472 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.08619, allocations: 10.44 kB / 36.08 MB, free: 472 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.08638, allocations: 335.9 kB / 36.41 MB, free: 6.367 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.08672, allocations: 134.7 kB / 36.54 MB, free: 6.363 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.08711, allocations: 245.5 kB / 36.78 MB, free: 6.242 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/0.08752, allocations: 176.2 kB / 36.95 MB, free: 6.211 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.08754, allocations: 3.094 kB / 36.96 MB, free: 6.211 MB / 24.8 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009755/0.08852, allocations: 447.6 kB / 37.39 MB, free: 6.113 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.08863, allocations: 54.98 kB / 37.45 MB, free: 6.078 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.08865, allocations: 1.266 kB / 37.45 MB, free: 6.078 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.08868, allocations: 8.312 kB / 37.46 MB, free: 6.078 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.08902, allocations: 48.38 kB / 37.51 MB, free: 6.074 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.08905, allocations: 8.406 kB / 37.51 MB, free: 6.074 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/0.08936, allocations: 43.45 kB / 37.56 MB, free: 6.062 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.08943, allocations: 25.34 kB / 37.58 MB, free: 6.062 MB / 24.8 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 () * 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.0002503/0.08969, allocations: 187.4 kB / 37.76 MB, free: 5.91 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.08979, allocations: 22.11 kB / 37.79 MB, free: 5.902 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009412/0.09074, allocations: 381.5 kB / 38.16 MB, free: 5.742 MB / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/0.09079, allocations: 4.422 kB / 38.16 MB, free: 5.742 MB / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.09081, allocations: 0.5625 kB / 38.16 MB, free: 5.742 MB / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.09083, allocations: 1.078 kB / 38.16 MB, free: 5.742 MB / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.09246, allocations: 0.8149 MB / 38.98 MB, free: 5.145 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.09252, allocations: 4 kB / 38.98 MB, free: 5.141 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.09285, allocations: 31.17 kB / 39.01 MB, free: 5.113 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.09287, allocations: 2.812 kB / 39.02 MB, free: 5.113 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.09293, allocations: 12 kB / 39.03 MB, free: 5.102 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.09294, allocations: 0 / 39.03 MB, free: 5.102 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.09295, allocations: 2.297 kB / 39.03 MB, free: 5.102 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.09431, allocations: 0.586 MB / 39.62 MB, free: 4.551 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.09446, allocations: 96.86 kB / 39.71 MB, free: 4.438 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.09455, allocations: 14.19 kB / 39.72 MB, free: 4.43 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.09485, allocations: 27.61 kB / 39.75 MB, free: 4.406 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002244/0.09509, allocations: 64.66 kB / 39.81 MB, free: 4.367 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.09516, allocations: 22.7 kB / 39.84 MB, free: 4.355 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0002115/0.09539, allocations: 145.5 kB / 39.98 MB, free: 4.219 MB / 24.8 MB Notification: Performance of sort global known variables: time 6.31e-07/0.0954, allocations: 0 / 39.98 MB, free: 4.219 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.0007852/0.0962, allocations: 157.7 kB / 40.13 MB, free: 4.082 MB / 24.8 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) * 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.002113/0.09833, allocations: 1.25 MB / 41.38 MB, free: 2.891 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.09948, allocations: 453.2 kB / 41.83 MB, free: 2.473 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.09952, allocations: 0 / 41.83 MB, free: 2.473 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.1, allocations: 246.4 kB / 42.07 MB, free: 2.238 MB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1005, allocations: 27.69 kB / 42.09 MB, free: 2.215 MB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.1026, allocations: 0.7265 MB / 42.82 MB, free: 1.582 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.1033, allocations: 0.8606 MB / 43.68 MB, free: 0.7617 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0004181/0.1037, allocations: 80.2 kB / 43.76 MB, free: 0.7109 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.104, allocations: 114.6 kB / 43.87 MB, free: 0.6094 MB / 24.8 MB Notification: Performance of SimCode: time 1.212e-06/0.104, allocations: 0 / 43.87 MB, free: 0.6094 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05733/0.1614, allocations: 6.661 MB / 50.53 MB, free: 5.395 MB / 24.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002614/0.1617, allocations: 122 kB / 50.65 MB, free: 5.195 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/2.863, allocations: 0 / 50.65 MB, free: 5.195 MB / 24.8 MB (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test6.fmu > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)