Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.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.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test7,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01217/0.01216, allocations: 1.362 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.553e-05, allocations: 4 kB / 23.34 MB, free: 3.98 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004005/0.0004314, allocations: 356.6 kB / 23.68 MB, free: 3.816 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0007994/0.001241, allocations: 0.9388 MB / 24.62 MB, free: 3.02 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.002037, allocations: 0.6437 MB / 25.27 MB, free: 2.379 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.002158, allocations: 3.938 kB / 25.27 MB, free: 2.375 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.002315, allocations: 63.52 kB / 25.33 MB, free: 2.312 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.002816, allocations: 227.2 kB / 25.55 MB, free: 2.09 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 6.915e-05/0.002897, allocations: 24.7 kB / 25.58 MB, free: 2.066 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.003134, allocations: 323 kB / 25.89 MB, free: 1.75 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.00331, allocations: 140.6 kB / 26.03 MB, free: 1.598 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.003406, allocations: 115.3 kB / 26.14 MB, free: 1.484 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.003538, allocations: 135.1 kB / 26.28 MB, free: 1.352 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.98e-05/0.003574, allocations: 8 kB / 26.28 MB, free: 1.344 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.0038, allocations: 203.6 kB / 26.48 MB, free: 1.145 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.809e-05/0.003867, allocations: 67.7 kB / 26.55 MB, free: 1.078 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.003917, allocations: 77.52 kB / 26.62 MB, free: 0.9961 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.004199, allocations: 383.3 kB / 27 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.004208, allocations: 0 / 27 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004216, allocations: 0 / 27 MB, free: 0.6211 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.004226, allocations: 3.938 kB / 27 MB, free: 0.6172 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.000603/0.004834, allocations: 0.6095 MB / 27.61 MB, free: 4.605 MB / 18.58 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.004878, allocations: 8.297 kB / 27.62 MB, free: 4.598 MB / 18.58 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/0.004988, allocations: 86.69 kB / 27.7 MB, free: 4.504 MB / 18.58 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.005066, allocations: 44.14 kB / 27.75 MB, free: 4.465 MB / 18.58 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.005423, allocations: 299.7 kB / 28.04 MB, free: 4.133 MB / 18.58 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.005472, allocations: 41.28 kB / 28.08 MB, free: 4.094 MB / 18.58 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.005549, allocations: 48.33 kB / 28.13 MB, free: 4.047 MB / 18.58 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.006526, allocations: 0.6369 MB / 28.76 MB, free: 3.391 MB / 18.58 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.00655, allocations: 2.484 kB / 28.77 MB, free: 3.391 MB / 18.58 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.006604, allocations: 23.95 kB / 28.79 MB, free: 3.367 MB / 18.58 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.006676, allocations: 40.97 kB / 28.83 MB, free: 3.328 MB / 18.58 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007149/0.007396, allocations: 459.6 kB / 29.28 MB, free: 2.879 MB / 18.58 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.009199, allocations: 1.497 MB / 30.78 MB, free: 1.25 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.009756, allocations: 351.9 kB / 31.12 MB, free: 0.8789 MB / 18.58 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.01005, allocations: 196.8 kB / 31.31 MB, free: 0.6836 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006953/0.01701, allocations: 0.5863 MB / 31.9 MB, free: 7.438 MB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.01705, allocations: 34.56 kB / 31.93 MB, free: 7.398 MB / 18.58 MB Notification: Performance of pre-optimization done (n=22): time 2.855e-06/0.01706, allocations: 0 / 31.93 MB, free: 7.398 MB / 18.58 MB Notification: Performance of matching and sorting (n=22): time 0.0008556/0.01792, allocations: 0.5316 MB / 32.46 MB, free: 7.332 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.018, allocations: 146 kB / 32.61 MB, free: 7.176 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.01816, allocations: 222.2 kB / 32.82 MB, free: 7.062 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.0182, allocations: 32.86 kB / 32.86 MB, free: 7.031 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.0183, allocations: 216.4 kB / 33.07 MB, free: 6.895 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.01836, allocations: 71.81 kB / 33.14 MB, free: 6.852 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.01838, allocations: 11.72 kB / 33.15 MB, free: 6.852 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.01845, allocations: 334 kB / 33.47 MB, free: 6.539 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.01869, allocations: 163.5 kB / 33.63 MB, free: 6.535 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.01897, allocations: 243.6 kB / 33.87 MB, free: 6.449 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.01921, allocations: 198.1 kB / 34.07 MB, free: 6.41 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01922, allocations: 0 / 34.07 MB, free: 6.41 MB / 18.58 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006435/0.01987, allocations: 0.5307 MB / 34.6 MB, free: 6.094 MB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.01992, allocations: 45.69 kB / 34.64 MB, free: 6.043 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.01994, allocations: 5.328 kB / 34.65 MB, free: 6.039 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.01996, allocations: 4 kB / 34.65 MB, free: 6.035 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.02013, allocations: 50.25 kB / 34.7 MB, free: 5.988 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.02015, allocations: 8 kB / 34.71 MB, free: 5.98 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.0203, allocations: 51.67 kB / 34.76 MB, free: 5.93 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.02035, allocations: 19.98 kB / 34.78 MB, free: 5.91 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.0002141/0.02057, allocations: 252.7 kB / 35.02 MB, free: 5.656 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.02062, allocations: 19.81 kB / 35.04 MB, free: 5.637 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006327/0.02126, allocations: 491.1 kB / 35.52 MB, free: 5.156 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.02129, allocations: 4 kB / 35.53 MB, free: 5.152 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.0213, allocations: 4 kB / 35.53 MB, free: 5.148 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.02131, allocations: 3.984 kB / 35.53 MB, free: 5.145 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009128/0.02222, allocations: 0.9154 MB / 36.45 MB, free: 4.176 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02224, allocations: 0 / 36.45 MB, free: 4.176 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.02237, allocations: 31.98 kB / 36.48 MB, free: 4.145 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02239, allocations: 7.719 kB / 36.49 MB, free: 4.141 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.02241, allocations: 11.98 kB / 36.5 MB, free: 4.129 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.02242, allocations: 0 / 36.5 MB, free: 4.129 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.02242, allocations: 0 / 36.5 MB, free: 4.129 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.02322, allocations: 0.7123 MB / 37.21 MB, free: 3.395 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.02327, allocations: 104.8 kB / 37.31 MB, free: 3.273 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.02331, allocations: 12.81 kB / 37.33 MB, free: 3.262 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.02346, allocations: 23.98 kB / 37.35 MB, free: 3.238 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.02359, allocations: 63.98 kB / 37.41 MB, free: 3.176 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.02362, allocations: 15.47 kB / 37.43 MB, free: 3.164 MB / 18.58 MB Notification: Performance of sorting global known variables: time 7.685e-05/0.0237, allocations: 141.6 kB / 37.57 MB, free: 3.027 MB / 18.58 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02371, allocations: 0 / 37.57 MB, free: 3.027 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0004167/0.02413, allocations: 157.8 kB / 37.72 MB, free: 2.879 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.001086/0.02522, allocations: 1.331 MB / 39.05 MB, free: 1.535 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0005631/0.0258, allocations: 489.8 kB / 39.53 MB, free: 1.047 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02581, allocations: 0 / 39.53 MB, free: 1.047 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 0.0003403/0.02615, allocations: 261 kB / 39.78 MB, free: 0.7812 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.0265, allocations: 44.67 kB / 39.83 MB, free: 0.7422 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/0.03628, allocations: 2.015 MB / 41.84 MB, free: 5.828 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.03657, allocations: 0.8549 MB / 42.7 MB, free: 5.133 MB / 18.58 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.03679, allocations: 104.9 kB / 42.8 MB, free: 5.133 MB / 18.58 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.03697, allocations: 130.2 kB / 42.93 MB, free: 5.125 MB / 18.58 MB Notification: Performance of SimCode: time 7.41e-07/0.03698, allocations: 0 / 42.93 MB, free: 5.125 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.0594, allocations: 6.698 MB / 49.63 MB, free: 4.973 MB / 18.58 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.05961, allocations: 155.2 kB / 49.78 MB, free: 4.73 MB / 18.58 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.809, allocations: 0 / 49.78 MB, free: 4.73 MB / 18.58 MB (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test7.fmu > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)