Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005688/0.005689, allocations: 1.365 MB / 16.64 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.087e-05/2.135e-05, allocations: 4 kB / 23.81 MB, free: 3.656 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007277/0.0007786, allocations: 364.8 kB / 24.16 MB, free: 3.316 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001793/0.002588, allocations: 1.916 MB / 26.08 MB, free: 1.398 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.004759, allocations: 1.007 MB / 27.08 MB, free: 404 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006759/0.005457, allocations: 8.656 kB / 27.09 MB, free: 396 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.005903, allocations: 135 kB / 27.22 MB, free: 260 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.007304, allocations: 368.5 kB / 27.58 MB, free: 4.539 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.007649, allocations: 71.25 kB / 27.65 MB, free: 4.473 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.008814, allocations: 0.7206 MB / 28.37 MB, free: 3.75 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006654/0.009495, allocations: 432.3 kB / 28.8 MB, free: 3.309 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004904/0.009999, allocations: 282.1 kB / 29.07 MB, free: 3.031 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005522/0.01056, allocations: 317.7 kB / 29.38 MB, free: 2.719 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.01074, allocations: 28 kB / 29.41 MB, free: 2.691 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006272/0.01138, allocations: 231.6 kB / 29.64 MB, free: 2.465 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.0117, allocations: 191.1 kB / 29.82 MB, free: 2.277 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.0122, allocations: 367 kB / 30.18 MB, free: 1.91 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.001465/0.01367, allocations: 0.9658 MB / 31.15 MB, free: 0.9414 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.01369, allocations: 3.938 kB / 31.15 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.044e-06/0.0137, allocations: 0 / 31.15 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.102e-05/0.01375, allocations: 0 / 31.15 MB, free: 0.9375 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01169/0.02545, allocations: 0.9931 MB / 32.14 MB, free: 7.234 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.02554, allocations: 10.8 kB / 32.15 MB, free: 7.234 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006603/0.0262, allocations: 186.5 kB / 32.34 MB, free: 7.191 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.02663, allocations: 107.2 kB / 32.44 MB, free: 7.141 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009537/0.0276, allocations: 0.4947 MB / 32.94 MB, free: 6.863 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.02777, allocations: 89.75 kB / 33.02 MB, free: 6.859 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000284/0.02806, allocations: 119.8 kB / 33.14 MB, free: 6.859 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.03086, allocations: 1.595 MB / 34.74 MB, free: 5.98 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.03091, allocations: 4.734 kB / 34.74 MB, free: 5.977 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.03102, allocations: 53.55 kB / 34.79 MB, free: 5.93 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.03116, allocations: 98.17 kB / 34.89 MB, free: 5.832 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.03284, allocations: 1.133 MB / 36.02 MB, free: 4.695 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.0367, allocations: 3.481 MB / 39.5 MB, free: 1.031 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.03792, allocations: 0.6584 MB / 40.16 MB, free: 348 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01076/0.04869, allocations: 446.4 kB / 40.6 MB, free: 6.242 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/0.04934, allocations: 0.5998 MB / 41.2 MB, free: 5.586 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.04941, allocations: 41.56 kB / 41.24 MB, free: 5.547 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 7.524e-06/0.04943, allocations: 3.812 kB / 41.24 MB, free: 5.547 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.002864/0.0523, allocations: 1.091 MB / 42.33 MB, free: 5.441 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.05244, allocations: 276.5 kB / 42.6 MB, free: 5.156 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.05313, allocations: 418.4 kB / 43.01 MB, free: 5.031 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.931e-05/0.05321, allocations: 44.12 kB / 43.05 MB, free: 4.992 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.05369, allocations: 457.1 kB / 43.5 MB, free: 4.684 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.05393, allocations: 161.4 kB / 43.66 MB, free: 4.57 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.05399, allocations: 19.19 kB / 43.68 MB, free: 4.559 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.05412, allocations: 360.2 kB / 44.03 MB, free: 4.227 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/0.05492, allocations: 379.3 kB / 44.4 MB, free: 4.121 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/0.05577, allocations: 0.5969 MB / 44.99 MB, free: 3.742 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.05727, allocations: 0.9587 MB / 45.95 MB, free: 2.766 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.0573, allocations: 4 kB / 45.96 MB, free: 2.762 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002046/0.05935, allocations: 1.129 MB / 47.09 MB, free: 1.621 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/0.05947, allocations: 87.38 kB / 47.17 MB, free: 1.523 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.0595, allocations: 10.23 kB / 47.18 MB, free: 1.516 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.521e-05/0.05954, allocations: 11.98 kB / 47.19 MB, free: 1.504 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.06002, allocations: 120.3 kB / 47.31 MB, free: 1.387 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.248e-05/0.06006, allocations: 8 kB / 47.32 MB, free: 1.379 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.06061, allocations: 132 kB / 47.45 MB, free: 1.25 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.06073, allocations: 39.98 kB / 47.49 MB, free: 1.211 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.arcType[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 2 * 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.0007439/0.06148, allocations: 457.4 kB / 47.93 MB, free: 0.75 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.06164, allocations: 51.25 kB / 47.98 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.07506, allocations: 0.9455 MB / 48.93 MB, free: 5.262 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-05/0.0752, allocations: 10.03 kB / 48.94 MB, free: 5.262 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.07523, allocations: 3.891 kB / 48.94 MB, free: 5.262 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.07525, allocations: 3.656 kB / 48.95 MB, free: 5.262 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.07889, allocations: 1.754 MB / 50.7 MB, free: 4.824 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.07893, allocations: 0 / 50.7 MB, free: 4.824 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.07938, allocations: 78.05 kB / 50.78 MB, free: 4.82 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.07941, allocations: 5.719 kB / 50.78 MB, free: 4.82 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.637e-05/0.0795, allocations: 23.34 kB / 50.81 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.07951, allocations: 0 / 50.81 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.07953, allocations: 3.875 kB / 50.81 MB, free: 4.812 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.08278, allocations: 1.404 MB / 52.21 MB, free: 4.238 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.08299, allocations: 124.3 kB / 52.33 MB, free: 4.129 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.08317, allocations: 30.92 kB / 52.37 MB, free: 4.102 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/0.0837, allocations: 57.2 kB / 52.42 MB, free: 4.051 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/0.08414, allocations: 132.3 kB / 52.55 MB, free: 3.922 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.08426, allocations: 30.33 kB / 52.58 MB, free: 3.895 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0004779/0.08475, allocations: 251.1 kB / 52.82 MB, free: 3.648 MB / 18.57 MB Notification: Performance of sort global known variables: time 2.074e-06/0.08477, allocations: 0 / 52.82 MB, free: 3.648 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.001346/0.08612, allocations: 284.3 kB / 53.1 MB, free: 3.41 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * Algorithm blocks: 2 * 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.003362/0.0895, allocations: 2.062 MB / 55.17 MB, free: 1.348 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.01739/0.1069, allocations: 1.124 MB / 56.29 MB, free: 5.074 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.107, allocations: 3.812 kB / 56.29 MB, free: 5.074 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.1087, allocations: 0.6097 MB / 56.9 MB, free: 4.949 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.1096, allocations: 72.33 kB / 56.97 MB, free: 4.949 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/0.1393, allocations: 7.077 MB / 64.05 MB, free: 4.211 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001556/0.1409, allocations: 1.115 MB / 65.16 MB, free: 9.902 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.001175/0.1422, allocations: 258.7 kB / 65.42 MB, free: 9.898 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007291/0.1429, allocations: 333.7 kB / 65.74 MB, free: 9.898 MB / 24.96 MB Notification: Performance of SimCode: time 1.263e-06/0.143, allocations: 0 / 65.74 MB, free: 9.898 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05838/0.2013, allocations: 13.06 MB / 78.8 MB, free: 9.23 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.2016, allocations: 159.8 kB / 78.96 MB, free: 8.98 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/2.73, allocations: 4.062 kB / 78.96 MB, free: 8.98 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test10_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test10.fmu > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)