Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01158/0.01158, allocations: 1.365 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.459e-05/1.461e-05, allocations: 4 kB / 23.33 MB, free: 3.98 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003666/0.0003957, allocations: 361.2 kB / 23.69 MB, free: 3.812 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001019/0.001422, allocations: 1.417 MB / 25.1 MB, free: 2.539 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.002359, allocations: 0.8314 MB / 25.94 MB, free: 1.707 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.002515, allocations: 8.656 kB / 25.94 MB, free: 1.699 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.002706, allocations: 99.25 kB / 26.04 MB, free: 1.602 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000571/0.003284, allocations: 300.8 kB / 26.34 MB, free: 1.309 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.608e-05/0.003382, allocations: 43.95 kB / 26.38 MB, free: 1.266 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.003734, allocations: 0.5616 MB / 26.94 MB, free: 0.7031 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.003989, allocations: 269.3 kB / 27.2 MB, free: 428 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.004124, allocations: 218.7 kB / 27.42 MB, free: 208 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.004305, allocations: 234.5 kB / 27.65 MB, free: 4.613 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.004366, allocations: 27.91 kB / 27.67 MB, free: 4.59 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002833/0.004654, allocations: 207.6 kB / 27.88 MB, free: 4.387 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.004779, allocations: 131.4 kB / 28 MB, free: 4.258 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 9.071e-05/0.004877, allocations: 121.3 kB / 28.12 MB, free: 4.133 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.005412, allocations: 0.5966 MB / 28.72 MB, free: 3.535 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.005424, allocations: 0 / 28.72 MB, free: 3.535 MB / 18.57 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005434, allocations: 4 kB / 28.72 MB, free: 3.531 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.005446, allocations: 0 / 28.72 MB, free: 3.531 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.0009407/0.006391, allocations: 0.8456 MB / 29.57 MB, free: 2.625 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.006434, allocations: 8.297 kB / 29.58 MB, free: 2.617 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001498/0.006589, allocations: 143.5 kB / 29.72 MB, free: 2.469 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.006723, allocations: 85.14 kB / 29.8 MB, free: 2.387 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.007247, allocations: 427.8 kB / 30.22 MB, free: 1.93 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.053e-05/0.007317, allocations: 66.33 kB / 30.28 MB, free: 1.863 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.007434, allocations: 92.33 kB / 30.37 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.009124, allocations: 1.207 MB / 31.58 MB, free: 0.543 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.009152, allocations: 176 / 31.58 MB, free: 0.543 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.00923, allocations: 44.11 kB / 31.62 MB, free: 0.5 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.009345, allocations: 81.94 kB / 31.7 MB, free: 428 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006415/0.01577, allocations: 0.8578 MB / 32.56 MB, free: 7.164 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.01814, allocations: 2.563 MB / 35.12 MB, free: 5.684 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006833/0.01884, allocations: 0.6372 MB / 35.76 MB, free: 5.125 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.01925, allocations: 349.7 kB / 36.1 MB, free: 4.781 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.01959, allocations: 0.5992 MB / 36.7 MB, free: 4.055 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.01962, allocations: 42.33 kB / 36.74 MB, free: 4.008 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 3.727e-06/0.01963, allocations: 0 / 36.74 MB, free: 4.008 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001341/0.02098, allocations: 1.007 MB / 37.75 MB, free: 2.992 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.02106, allocations: 212.2 kB / 37.96 MB, free: 2.742 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.02132, allocations: 314.3 kB / 38.26 MB, free: 2.426 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.02136, allocations: 41.69 kB / 38.3 MB, free: 2.379 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.02152, allocations: 335.9 kB / 38.63 MB, free: 2.055 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.551e-05/0.02162, allocations: 144 kB / 38.77 MB, free: 1.918 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.02165, allocations: 12 kB / 38.79 MB, free: 1.906 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 8.156e-05/0.02174, allocations: 346.8 kB / 39.12 MB, free: 1.559 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.02212, allocations: 300.9 kB / 39.42 MB, free: 1.266 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.02255, allocations: 450 kB / 39.86 MB, free: 0.7617 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.02296, allocations: 375.9 kB / 40.22 MB, free: 388 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.02297, allocations: 0 / 40.22 MB, free: 388 kB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.008009/0.03098, allocations: 0.9857 MB / 41.21 MB, free: 5.824 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.723e-05/0.03112, allocations: 85.97 kB / 41.29 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.03114, allocations: 7.781 kB / 41.3 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.03117, allocations: 10.81 kB / 41.31 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.03145, allocations: 86.58 kB / 41.4 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.03147, allocations: 16.3 kB / 41.41 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.03174, allocations: 87.08 kB / 41.5 MB, free: 5.762 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.03181, allocations: 34.38 kB / 41.53 MB, free: 5.762 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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.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 (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.0004112/0.03223, allocations: 388.7 kB / 41.91 MB, free: 5.586 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.03e-05/0.03231, allocations: 35.44 kB / 41.95 MB, free: 5.586 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.03343, allocations: 0.8699 MB / 42.82 MB, free: 5.453 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.03346, allocations: 15.59 kB / 42.83 MB, free: 5.445 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.03347, allocations: 0 / 42.83 MB, free: 5.445 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.03348, allocations: 3.641 kB / 42.83 MB, free: 5.445 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.03507, allocations: 1.547 MB / 44.38 MB, free: 4.219 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.03509, allocations: 0 / 44.38 MB, free: 4.219 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.03529, allocations: 59.91 kB / 44.44 MB, free: 4.16 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.0353, allocations: 0 / 44.44 MB, free: 4.16 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.03535, allocations: 19.98 kB / 44.46 MB, free: 4.141 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.03536, allocations: 4 kB / 44.46 MB, free: 4.137 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.03536, allocations: 5.562 kB / 44.47 MB, free: 4.137 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.03675, allocations: 1.266 MB / 45.73 MB, free: 2.867 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.0368, allocations: 115.9 kB / 45.85 MB, free: 2.758 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.03687, allocations: 21.41 kB / 45.87 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.03709, allocations: 52.39 kB / 45.92 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.03728, allocations: 107.9 kB / 46.02 MB, free: 2.582 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.03732, allocations: 26.88 kB / 46.05 MB, free: 2.559 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001278/0.03746, allocations: 197.9 kB / 46.24 MB, free: 2.367 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03746, allocations: 0 / 46.24 MB, free: 2.367 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005333/0.038, allocations: 233.2 kB / 46.47 MB, free: 2.152 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.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.008007/0.04602, allocations: 1.906 MB / 48.38 MB, free: 5.348 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.04711, allocations: 0.9141 MB / 49.29 MB, free: 5.223 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.04712, allocations: 0 / 49.29 MB, free: 5.223 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.04762, allocations: 0.5083 MB / 49.8 MB, free: 5.098 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.04802, allocations: 61.11 kB / 49.86 MB, free: 5.094 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.05184, allocations: 3.569 MB / 53.43 MB, free: 2.164 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.05222, allocations: 1.016 MB / 54.45 MB, free: 7.434 MB / 24.88 MB Notification: Performance of simCode: alias equations: time 0.0003355/0.05256, allocations: 198 kB / 54.64 MB, free: 7.246 MB / 24.88 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.0528, allocations: 235.3 kB / 54.87 MB, free: 7.016 MB / 24.88 MB Notification: Performance of SimCode: time 6.02e-07/0.05281, allocations: 4 kB / 54.87 MB, free: 7.012 MB / 24.88 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.08228, allocations: 10.87 MB / 65.75 MB, free: 8.051 MB / 24.88 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.08246, allocations: 149.7 kB / 65.89 MB, free: 7.809 MB / 24.88 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.146, allocations: 0 / 65.89 MB, free: 7.809 MB / 24.88 MB (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test8.fmu > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)