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.0182/0.0182, allocations: 1.354 MB / 16.31 MB, free: 5.355 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.676e-05, allocations: 0 / 23.31 MB, free: 4 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007016/0.0007585, allocations: 359.3 kB / 23.66 MB, free: 3.832 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.001299/0.002072, allocations: 0.9702 MB / 24.63 MB, free: 3.004 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.003498, allocations: 0.6522 MB / 25.29 MB, free: 2.355 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.003725, allocations: 7.938 kB / 25.29 MB, free: 2.348 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.003983, allocations: 76.06 kB / 25.37 MB, free: 2.273 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0008903/0.004886, allocations: 246.1 kB / 25.61 MB, free: 2.035 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.005072, allocations: 39.95 kB / 25.65 MB, free: 1.996 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.005393, allocations: 211.5 kB / 25.85 MB, free: 1.789 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.005671, allocations: 132 kB / 25.98 MB, free: 1.645 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.005818, allocations: 119.3 kB / 26.1 MB, free: 1.527 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.005996, allocations: 131.2 kB / 26.23 MB, free: 1.398 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.00605, allocations: 12 kB / 26.24 MB, free: 1.387 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/0.006407, allocations: 175.8 kB / 26.41 MB, free: 1.215 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.006509, allocations: 71.73 kB / 26.48 MB, free: 1.145 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 6.19e-05/0.006581, allocations: 73.52 kB / 26.55 MB, free: 1.066 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.007059, allocations: 387.3 kB / 26.93 MB, free: 0.6875 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.007075, allocations: 4 kB / 26.93 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.603e-06/0.007085, allocations: 0 / 26.93 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.0071, allocations: 0 / 26.93 MB, free: 0.6836 MB / 13.93 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.0008135/0.007922, allocations: 0.6017 MB / 27.54 MB, free: 28 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.007974, allocations: 8.297 kB / 27.54 MB, free: 20 kB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001708/0.008154, allocations: 99.67 kB / 27.64 MB, free: 4.566 MB / 18.58 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.00828, allocations: 40.39 kB / 27.68 MB, free: 4.527 MB / 18.58 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005233/0.008816, allocations: 295.7 kB / 27.97 MB, free: 4.199 MB / 18.58 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.008893, allocations: 41.33 kB / 28.01 MB, free: 4.16 MB / 18.58 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.009011, allocations: 48.09 kB / 28.06 MB, free: 4.117 MB / 18.58 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.01064, allocations: 0.6409 MB / 28.7 MB, free: 3.457 MB / 18.58 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.01069, allocations: 0 / 28.7 MB, free: 3.457 MB / 18.58 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/0.01077, allocations: 27.94 kB / 28.72 MB, free: 3.43 MB / 18.58 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/0.0109, allocations: 36.97 kB / 28.76 MB, free: 3.395 MB / 18.58 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.01227, allocations: 459.6 kB / 29.21 MB, free: 2.945 MB / 18.58 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.01533, allocations: 1.494 MB / 30.7 MB, free: 1.32 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/0.01636, allocations: 359.8 kB / 31.06 MB, free: 0.9414 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007061/0.01709, allocations: 0.6014 MB / 31.66 MB, free: 216 kB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.01714, allocations: 30.56 kB / 31.69 MB, free: 176 kB / 18.58 MB Notification: Performance of pre-optimization done (n=22): time 3.827e-06/0.01716, allocations: 0 / 31.69 MB, free: 176 kB / 18.58 MB Notification: Performance of matching and sorting (n=22): time 0.01326/0.03042, allocations: 0.6051 MB / 32.29 MB, free: 7.801 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.569e-05/0.03054, allocations: 149 kB / 32.44 MB, free: 7.645 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.03082, allocations: 218.4 kB / 32.65 MB, free: 7.531 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.03087, allocations: 33.05 kB / 32.68 MB, free: 7.5 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.03103, allocations: 218.1 kB / 32.9 MB, free: 7.363 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.03112, allocations: 77.83 kB / 32.97 MB, free: 7.32 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.03116, allocations: 6.125 kB / 32.98 MB, free: 7.32 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.03124, allocations: 340.9 kB / 33.31 MB, free: 7.008 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.03168, allocations: 156.9 kB / 33.46 MB, free: 7.004 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.03216, allocations: 244.2 kB / 33.7 MB, free: 6.875 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.03261, allocations: 201.9 kB / 33.9 MB, free: 6.781 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.03263, allocations: 0 / 33.9 MB, free: 6.781 MB / 18.58 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001222/0.03386, allocations: 0.5287 MB / 34.43 MB, free: 6.59 MB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 5.593e-05/0.03393, allocations: 45.41 kB / 34.47 MB, free: 6.543 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.03395, allocations: 0 / 34.47 MB, free: 6.543 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.03398, allocations: 4 kB / 34.48 MB, free: 6.539 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.0343, allocations: 59.44 kB / 34.53 MB, free: 6.488 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.03433, allocations: 3.938 kB / 34.54 MB, free: 6.484 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002599/0.0346, allocations: 50.77 kB / 34.59 MB, free: 6.441 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/0.03467, allocations: 22.5 kB / 34.61 MB, free: 6.422 MB / 18.58 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * 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.0003416/0.03502, allocations: 259.6 kB / 34.86 MB, free: 6.16 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.03509, allocations: 19.81 kB / 34.88 MB, free: 6.141 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.03625, allocations: 477.3 kB / 35.35 MB, free: 5.68 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/0.0363, allocations: 11.98 kB / 35.36 MB, free: 5.668 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.03631, allocations: 0 / 35.36 MB, free: 5.668 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.03633, allocations: 0 / 35.36 MB, free: 5.668 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.03792, allocations: 0.9155 MB / 36.28 MB, free: 4.695 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.03795, allocations: 0 / 36.28 MB, free: 4.695 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.03822, allocations: 52.38 kB / 36.33 MB, free: 4.648 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.03824, allocations: 0 / 36.33 MB, free: 4.648 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.03829, allocations: 8 kB / 36.34 MB, free: 4.641 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.0383, allocations: 5.062 kB / 36.34 MB, free: 4.637 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.03831, allocations: 0 / 36.34 MB, free: 4.637 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.03984, allocations: 0.7103 MB / 37.05 MB, free: 3.906 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.03994, allocations: 100.8 kB / 37.15 MB, free: 3.789 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.04002, allocations: 8 kB / 37.16 MB, free: 3.781 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.04029, allocations: 39.03 kB / 37.19 MB, free: 3.746 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.0405, allocations: 59.88 kB / 37.25 MB, free: 3.688 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.04056, allocations: 11.98 kB / 37.26 MB, free: 3.676 MB / 18.58 MB Notification: Performance of sorting global known variables: time 0.0001496/0.04072, allocations: 145.6 kB / 37.41 MB, free: 3.535 MB / 18.58 MB Notification: Performance of sort global known variables: time 3.61e-07/0.04073, allocations: 0 / 37.41 MB, free: 3.535 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0006426/0.04138, allocations: 146.7 kB / 37.55 MB, free: 3.398 MB / 18.58 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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * 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.002029/0.04342, allocations: 1.338 MB / 38.89 MB, free: 2.047 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.04452, allocations: 490 kB / 39.37 MB, free: 1.559 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.04454, allocations: 0 / 39.37 MB, free: 1.559 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.04503, allocations: 267.2 kB / 39.63 MB, free: 1.285 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.0454, allocations: 28.75 kB / 39.66 MB, free: 1.258 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.06228, allocations: 3.174 MB / 42.83 MB, free: 5.195 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.06279, allocations: 0.8642 MB / 43.69 MB, free: 10.89 MB / 24.97 MB Notification: Performance of simCode: alias equations: time 0.0003959/0.0632, allocations: 108.7 kB / 43.8 MB, free: 10.88 MB / 24.97 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.0635, allocations: 128.4 kB / 43.93 MB, free: 10.87 MB / 24.97 MB Notification: Performance of SimCode: time 1.011e-06/0.06352, allocations: 1.094 kB / 43.93 MB, free: 10.87 MB / 24.97 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.09836, allocations: 6.68 MB / 50.61 MB, free: 4.816 MB / 24.97 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004282/0.09887, allocations: 140.7 kB / 50.74 MB, free: 4.578 MB / 24.97 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/2.638, allocations: 4 kB / 50.75 MB, free: 4.574 MB / 24.97 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)