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.01291/0.01291, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.535e-05/2.544e-05, allocations: 1.625 kB / 13.23 MB, free: 2.285 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009668/0.001044, allocations: 360.2 kB / 13.58 MB, free: 2.254 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.008482/0.009575, allocations: 3.345 MB / 16.92 MB, free: 1.816 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.009808, allocations: 47.98 kB / 16.97 MB, free: 1.77 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.03153/0.04137, allocations: 5.144 MB / 22.11 MB, free: 1.801 MB / 10.45 MB Notification: Performance of FrontEnd: time 3.066e-06/0.04144, allocations: 0 / 22.11 MB, free: 1.801 MB / 10.45 MB Notification: Performance of Transformations before backend: time 2.906e-05/0.04149, allocations: 4 kB / 22.12 MB, free: 1.797 MB / 10.45 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.001103/0.04261, allocations: 0.4994 MB / 22.62 MB, free: 1.27 MB / 10.45 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001038/0.04274, allocations: 16.59 kB / 22.63 MB, free: 1.254 MB / 10.45 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.04291, allocations: 24.58 kB / 22.66 MB, free: 1.23 MB / 10.45 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.04356, allocations: 254.9 kB / 22.91 MB, free: 0.9609 MB / 10.45 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.04361, allocations: 8.344 kB / 22.91 MB, free: 0.9531 MB / 10.45 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/0.0437, allocations: 12.34 kB / 22.93 MB, free: 0.9414 MB / 10.45 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006203/0.04434, allocations: 194.9 kB / 23.12 MB, free: 0.7734 MB / 10.45 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.04544, allocations: 300.9 kB / 23.41 MB, free: 480 kB / 10.45 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.4e-05/0.04551, allocations: 0 / 23.41 MB, free: 480 kB / 10.45 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-05/0.04559, allocations: 4 kB / 23.41 MB, free: 476 kB / 10.45 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-05/0.04569, allocations: 16.36 kB / 23.43 MB, free: 460 kB / 10.45 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.05583, allocations: 0.6591 MB / 24.09 MB, free: 0.918 MB / 10.45 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.05615, allocations: 112.7 kB / 24.2 MB, free: 0.8945 MB / 10.45 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.05632, allocations: 78.78 kB / 24.28 MB, free: 0.8867 MB / 10.45 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003983/0.05673, allocations: 431.6 kB / 24.7 MB, free: 428 kB / 10.45 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.05678, allocations: 31.88 kB / 24.73 MB, free: 388 kB / 10.45 MB Notification: Performance of pre-optimization done (n=13): time 2.735e-06/0.05679, allocations: 1.75 kB / 24.73 MB, free: 388 kB / 10.45 MB Notification: Performance of matching and sorting (n=13): time 0.0006057/0.05741, allocations: 191.8 kB / 24.92 MB, free: 356 kB / 10.45 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.05747, allocations: 111.7 kB / 25.03 MB, free: 228 kB / 10.45 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.05761, allocations: 128.8 kB / 25.15 MB, free: 132 kB / 10.45 MB Notification: Performance of collectPreVariables (initialization): time 4.936e-05/0.05767, allocations: 26.59 kB / 25.18 MB, free: 3.59 MB / 13.94 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.05779, allocations: 158.2 kB / 25.33 MB, free: 3.48 MB / 13.94 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.05785, allocations: 37 kB / 25.37 MB, free: 3.461 MB / 13.94 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/0.05787, allocations: 0 / 25.37 MB, free: 3.461 MB / 13.94 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.05803, allocations: 325.1 kB / 25.69 MB, free: 3.148 MB / 13.94 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.05818, allocations: 60.83 kB / 25.75 MB, free: 3.148 MB / 13.94 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.05837, allocations: 123 kB / 25.87 MB, free: 3.086 MB / 13.94 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.05861, allocations: 69.14 kB / 25.93 MB, free: 3.086 MB / 13.94 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.05863, allocations: 0 / 25.93 MB, free: 3.086 MB / 13.94 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006162/0.05925, allocations: 234.6 kB / 26.16 MB, free: 3.051 MB / 13.94 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.05933, allocations: 38.91 kB / 26.2 MB, free: 3.02 MB / 13.94 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.05935, allocations: 3.25 kB / 26.2 MB, free: 3.02 MB / 13.94 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.05938, allocations: 6.438 kB / 26.21 MB, free: 3.02 MB / 13.94 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.05959, allocations: 30.44 kB / 26.24 MB, free: 3.02 MB / 13.94 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.05961, allocations: 3.719 kB / 26.24 MB, free: 3.02 MB / 13.94 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.05977, allocations: 21.91 kB / 26.27 MB, free: 3.016 MB / 13.94 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.05982, allocations: 13.16 kB / 26.28 MB, free: 3.016 MB / 13.94 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.P1.fireIn[1],P1.feeding,P1.emptying,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 1 * 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.0001677/0.05999, allocations: 149.1 kB / 26.42 MB, free: 2.879 MB / 13.94 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005047/0.06051, allocations: 195.2 kB / 26.61 MB, free: 2.844 MB / 13.94 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.06058, allocations: 14.05 kB / 26.63 MB, free: 2.836 MB / 13.94 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.06131, allocations: 265.2 kB / 26.89 MB, free: 2.793 MB / 13.94 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.06134, allocations: 5.516 kB / 26.89 MB, free: 2.793 MB / 13.94 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.06136, allocations: 5.25 kB / 26.9 MB, free: 2.793 MB / 13.94 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.06137, allocations: 1.062 kB / 26.9 MB, free: 2.793 MB / 13.94 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009362/0.06231, allocations: 0.4975 MB / 27.4 MB, free: 2.523 MB / 13.94 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.06234, allocations: 6.672 kB / 27.4 MB, free: 2.52 MB / 13.94 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001883/0.06254, allocations: 20.53 kB / 27.42 MB, free: 2.52 MB / 13.94 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.06256, allocations: 0 / 27.42 MB, free: 2.52 MB / 13.94 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.06259, allocations: 7.578 kB / 27.43 MB, free: 2.52 MB / 13.94 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.06261, allocations: 0 / 27.43 MB, free: 2.52 MB / 13.94 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.06262, allocations: 2.125 kB / 27.43 MB, free: 2.52 MB / 13.94 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.06347, allocations: 391.6 kB / 27.81 MB, free: 2.379 MB / 13.94 MB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.06356, allocations: 92.12 kB / 27.9 MB, free: 2.273 MB / 13.94 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.06361, allocations: 2.484 kB / 27.91 MB, free: 2.273 MB / 13.94 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.06378, allocations: 16.05 kB / 27.92 MB, free: 2.273 MB / 13.94 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.06393, allocations: 38.3 kB / 27.96 MB, free: 2.273 MB / 13.94 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.06397, allocations: 9.391 kB / 27.97 MB, free: 2.273 MB / 13.94 MB Notification: Performance of sorting global known variables: time 9.805e-05/0.06408, allocations: 101.9 kB / 28.07 MB, free: 2.188 MB / 13.94 MB Notification: Performance of sort global known variables: time 4.51e-07/0.06409, allocations: 3.438 kB / 28.07 MB, free: 2.188 MB / 13.94 MB Notification: Performance of remove unused functions: time 0.000524/0.06463, allocations: 92.25 kB / 28.16 MB, free: 2.172 MB / 13.94 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 (P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active) * 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 (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.001425/0.06606, allocations: 0.9836 MB / 29.15 MB, free: 1.273 MB / 13.94 MB Notification: Performance of simCode: created initialization part: time 0.0005532/0.06665, allocations: 231.4 kB / 29.37 MB, free: 1.055 MB / 13.94 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-05/0.06669, allocations: 4 kB / 29.38 MB, free: 1.051 MB / 13.94 MB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.06698, allocations: 148.7 kB / 29.52 MB, free: 0.9062 MB / 13.94 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.06728, allocations: 9.531 kB / 29.53 MB, free: 0.8984 MB / 13.94 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.06857, allocations: 427.3 kB / 29.95 MB, free: 0.5195 MB / 13.94 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01059/0.07918, allocations: 0.77 MB / 30.72 MB, free: 3.102 MB / 13.94 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.07947, allocations: 60.52 kB / 30.78 MB, free: 3.102 MB / 13.94 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.07965, allocations: 72.12 kB / 30.85 MB, free: 3.094 MB / 13.94 MB Notification: Performance of SimCode: time 9.72e-07/0.07967, allocations: 1.75 kB / 30.85 MB, free: 3.094 MB / 13.94 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/0.1274, allocations: 3.688 MB / 34.54 MB, free: 1.586 MB / 13.94 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.1276, allocations: 104 kB / 34.64 MB, free: 1.484 MB / 13.94 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/2.608, allocations: 0 / 34.64 MB, free: 1.484 MB / 13.94 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)