Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00858/0.00858, allocations: 1.365 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.255e-05/1.267e-05, allocations: 4 kB / 23.33 MB, free: 3.977 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000781/0.0008108, allocations: 366.8 kB / 23.69 MB, free: 3.809 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001336/0.002155, allocations: 1.63 MB / 25.32 MB, free: 2.324 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.003375, allocations: 0.9172 MB / 26.24 MB, free: 1.406 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.003567, allocations: 11.88 kB / 26.25 MB, free: 1.395 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.003783, allocations: 123.1 kB / 26.37 MB, free: 1.273 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006081/0.004399, allocations: 324.7 kB / 26.69 MB, free: 0.957 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.004537, allocations: 64.66 kB / 26.75 MB, free: 0.8945 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004783/0.005023, allocations: 0.7128 MB / 27.46 MB, free: 184 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003712/0.005403, allocations: 329.5 kB / 27.78 MB, free: 4.492 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.005659, allocations: 282.3 kB / 28.06 MB, free: 4.215 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.005911, allocations: 286.1 kB / 28.34 MB, free: 3.934 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.871e-05/0.005977, allocations: 28 kB / 28.37 MB, free: 3.906 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.006291, allocations: 211.6 kB / 28.57 MB, free: 3.699 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.006432, allocations: 159.2 kB / 28.73 MB, free: 3.543 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.006553, allocations: 145.2 kB / 28.87 MB, free: 3.395 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006188/0.00718, allocations: 0.7058 MB / 29.58 MB, free: 2.688 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.007193, allocations: 0 / 29.58 MB, free: 2.688 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.302e-06/0.007201, allocations: 3.938 kB / 29.58 MB, free: 2.684 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.007213, allocations: 0 / 29.58 MB, free: 2.684 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.001023/0.008241, allocations: 0.9683 MB / 30.55 MB, free: 1.645 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.008282, allocations: 12.3 kB / 30.56 MB, free: 1.633 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.008447, allocations: 172.6 kB / 30.73 MB, free: 1.457 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.008595, allocations: 99.73 kB / 30.83 MB, free: 1.359 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/0.009152, allocations: 491.9 kB / 31.31 MB, free: 0.8398 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.33e-05/0.009225, allocations: 82.41 kB / 31.39 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.00936, allocations: 104.3 kB / 31.49 MB, free: 0.6562 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006748/0.01611, allocations: 1.476 MB / 32.96 MB, free: 6.801 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.01616, allocations: 176 / 32.97 MB, free: 6.801 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.724e-05/0.01624, allocations: 59.88 kB / 33.02 MB, free: 6.801 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.01636, allocations: 91.72 kB / 33.11 MB, free: 6.801 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.01772, allocations: 1.068 MB / 34.18 MB, free: 6.625 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.0203, allocations: 2.888 MB / 37.07 MB, free: 3.738 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/0.02109, allocations: 0.7571 MB / 37.83 MB, free: 2.934 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.02157, allocations: 454.1 kB / 38.27 MB, free: 2.488 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004242/0.022, allocations: 0.8664 MB / 39.14 MB, free: 1.441 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.02203, allocations: 34.94 kB / 39.17 MB, free: 1.398 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.124e-06/0.02203, allocations: 0 / 39.17 MB, free: 1.398 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.00828/0.03032, allocations: 1.677 MB / 40.85 MB, free: 6.121 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.03043, allocations: 244.6 kB / 41.09 MB, free: 5.871 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.03077, allocations: 355.8 kB / 41.43 MB, free: 5.766 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.03083, allocations: 43.52 kB / 41.48 MB, free: 5.734 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.03101, allocations: 393.7 kB / 41.86 MB, free: 5.543 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.771e-05/0.03111, allocations: 170.1 kB / 42.03 MB, free: 5.449 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.03115, allocations: 17.44 kB / 42.04 MB, free: 5.449 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.03122, allocations: 349.7 kB / 42.38 MB, free: 5.137 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.03173, allocations: 377.6 kB / 42.75 MB, free: 5.133 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005722/0.03231, allocations: 0.5316 MB / 43.28 MB, free: 4.957 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.03291, allocations: 474.7 kB / 43.75 MB, free: 4.855 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.03293, allocations: 1.125 kB / 43.75 MB, free: 4.855 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001796/0.03473, allocations: 1.304 MB / 45.05 MB, free: 3.926 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/0.03484, allocations: 117.6 kB / 45.17 MB, free: 3.793 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.03486, allocations: 8 kB / 45.18 MB, free: 3.785 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.03638, allocations: 412.3 kB / 45.58 MB, free: 3.383 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.03664, allocations: 87.83 kB / 45.66 MB, free: 3.297 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007333/0.03739, allocations: 0.8881 MB / 46.55 MB, free: 2.391 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.03785, allocations: 104.8 kB / 46.65 MB, free: 2.289 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.03794, allocations: 42.8 kB / 46.7 MB, free: 2.25 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,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 (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.00052/0.03846, allocations: 467 kB / 47.15 MB, free: 1.77 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.53e-05/0.03855, allocations: 47.31 kB / 47.2 MB, free: 1.727 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.04009, allocations: 1.261 MB / 48.46 MB, free: 460 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-05/0.04013, allocations: 15.98 kB / 48.48 MB, free: 444 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.04014, allocations: 1.062 kB / 48.48 MB, free: 444 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.04015, allocations: 3.984 kB / 48.48 MB, free: 440 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/0.04864, allocations: 1.999 MB / 50.48 MB, free: 4.973 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.04868, allocations: 3.938 kB / 50.48 MB, free: 4.973 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.04888, allocations: 47.66 kB / 50.53 MB, free: 4.973 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.04992, allocations: 396.9 kB / 50.92 MB, free: 4.961 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.811e-05/0.04998, allocations: 23.98 kB / 50.94 MB, free: 4.961 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007008/0.05069, allocations: 0.927 MB / 51.87 MB, free: 4.441 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.0507, allocations: 7.531 kB / 51.88 MB, free: 4.441 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.05259, allocations: 1.724 MB / 53.6 MB, free: 2.961 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.05266, allocations: 119.7 kB / 53.72 MB, free: 2.852 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.05274, allocations: 30.95 kB / 53.75 MB, free: 2.824 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.05299, allocations: 54.22 kB / 53.8 MB, free: 2.773 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.05322, allocations: 136.3 kB / 53.93 MB, free: 2.637 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.05328, allocations: 39.97 kB / 53.97 MB, free: 2.598 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001591/0.05344, allocations: 217.8 kB / 54.18 MB, free: 2.383 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.3e-07/0.05345, allocations: 0 / 54.18 MB, free: 2.383 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000598/0.05405, allocations: 279.1 kB / 54.46 MB, free: 2.16 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008287/0.06235, allocations: 2.374 MB / 56.83 MB, free: 4.613 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.06373, allocations: 1.191 MB / 58.02 MB, free: 4.422 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.06374, allocations: 0 / 58.02 MB, free: 4.422 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.06442, allocations: 0.7001 MB / 58.72 MB, free: 4.223 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.06483, allocations: 64.14 kB / 58.78 MB, free: 4.215 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004658/0.0695, allocations: 4.448 MB / 63.23 MB, free: 0.707 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.07002, allocations: 1.102 MB / 64.33 MB, free: 5.969 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.07031, allocations: 144.5 kB / 64.48 MB, free: 5.832 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.07061, allocations: 267.3 kB / 64.74 MB, free: 5.57 MB / 24.96 MB Notification: Performance of SimCode: time 4.11e-07/0.07061, allocations: 0 / 64.74 MB, free: 5.57 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03722/0.1078, allocations: 15.1 MB / 79.84 MB, free: 2.355 MB / 24.96 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/0.1081, allocations: 175.5 kB / 80.01 MB, free: 2.117 MB / 24.96 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.336, allocations: 0 / 80.01 MB, free: 2.117 MB / 24.96 MB (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test12.fmu > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)