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.01697/0.01697, allocations: 1.358 MB / 16.31 MB, free: 5.352 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.34e-05/2.367e-05, allocations: 4 kB / 23.31 MB, free: 3.988 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008014/0.0008659, allocations: 362.2 kB / 23.67 MB, free: 3.824 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.001337/0.002221, allocations: 0.9682 MB / 24.63 MB, free: 3.004 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003584, allocations: 0.6509 MB / 25.28 MB, free: 2.355 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001825/0.003783, allocations: 7.938 kB / 25.29 MB, free: 2.348 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002517/0.004048, allocations: 75.5 kB / 25.37 MB, free: 2.273 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0008598/0.00492, allocations: 244.5 kB / 25.6 MB, free: 2.035 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.005073, allocations: 36.7 kB / 25.64 MB, free: 2 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.00538, allocations: 219.5 kB / 25.85 MB, free: 1.785 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.005639, allocations: 132.3 kB / 25.98 MB, free: 1.645 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.005783, allocations: 119.3 kB / 26.1 MB, free: 1.527 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.005952, allocations: 131.2 kB / 26.23 MB, free: 1.398 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.006004, allocations: 12 kB / 26.24 MB, free: 1.387 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003442/0.006358, allocations: 179.7 kB / 26.42 MB, free: 1.211 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.006457, allocations: 67.73 kB / 26.48 MB, free: 1.145 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 6.182e-05/0.006529, allocations: 73.52 kB / 26.55 MB, free: 1.066 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.007014, allocations: 387.3 kB / 26.93 MB, free: 0.6875 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.007031, allocations: 4 kB / 26.94 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.694e-06/0.007042, allocations: 0 / 26.94 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007059, allocations: 4 kB / 26.94 MB, free: 0.6797 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.0007674/0.007834, allocations: 0.5978 MB / 27.54 MB, free: 28 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.007888, allocations: 8.297 kB / 27.55 MB, free: 20 kB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.008061, allocations: 98.61 kB / 27.64 MB, free: 4.574 MB / 18.59 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.008193, allocations: 44.39 kB / 27.69 MB, free: 4.531 MB / 18.59 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005478/0.008751, allocations: 295.7 kB / 27.97 MB, free: 4.203 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.827e-05/0.008824, allocations: 37.33 kB / 28.01 MB, free: 4.168 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.008952, allocations: 52.09 kB / 28.06 MB, free: 4.121 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.01055, allocations: 0.6331 MB / 28.69 MB, free: 3.469 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.01059, allocations: 0 / 28.69 MB, free: 3.469 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/0.01068, allocations: 31.92 kB / 28.73 MB, free: 3.438 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.01081, allocations: 40.97 kB / 28.77 MB, free: 3.398 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.01209, allocations: 459.6 kB / 29.21 MB, free: 2.949 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.01505, allocations: 1.493 MB / 30.71 MB, free: 1.324 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/0.01602, allocations: 359.8 kB / 31.06 MB, free: 0.9453 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007385/0.01677, allocations: 0.5975 MB / 31.66 MB, free: 224 kB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.01683, allocations: 34.56 kB / 31.69 MB, free: 180 kB / 18.59 MB Notification: Performance of pre-optimization done (n=22): time 3.577e-06/0.01684, allocations: 0 / 31.69 MB, free: 180 kB / 18.59 MB Notification: Performance of matching and sorting (n=22): time 0.01215/0.029, allocations: 0.604 MB / 32.29 MB, free: 7.809 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.476e-05/0.02911, allocations: 144.5 kB / 32.44 MB, free: 7.652 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.02941, allocations: 225.4 kB / 32.66 MB, free: 7.539 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.02946, allocations: 32.42 kB / 32.69 MB, free: 7.508 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.02962, allocations: 217.4 kB / 32.9 MB, free: 7.371 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.02971, allocations: 77.89 kB / 32.98 MB, free: 7.328 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.02975, allocations: 9.562 kB / 32.98 MB, free: 7.328 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.02983, allocations: 331.1 kB / 33.31 MB, free: 7.016 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.03026, allocations: 162.6 kB / 33.47 MB, free: 7.012 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004616/0.03073, allocations: 245 kB / 33.71 MB, free: 6.914 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004267/0.03118, allocations: 202.4 kB / 33.9 MB, free: 6.82 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.03119, allocations: 0 / 33.9 MB, free: 6.82 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001189/0.03239, allocations: 0.5262 MB / 34.43 MB, free: 6.594 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.03246, allocations: 45.69 kB / 34.47 MB, free: 6.543 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.03248, allocations: 4 kB / 34.48 MB, free: 6.539 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.03251, allocations: 4.281 kB / 34.48 MB, free: 6.535 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.03284, allocations: 58.16 kB / 34.54 MB, free: 6.48 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.03287, allocations: 7.938 kB / 34.55 MB, free: 6.473 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.03314, allocations: 47.67 kB / 34.59 MB, free: 6.426 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.03321, allocations: 17.31 kB / 34.61 MB, free: 6.41 MB / 18.59 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.0003362/0.03356, allocations: 257.5 kB / 34.86 MB, free: 6.145 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.03363, allocations: 22.86 kB / 34.88 MB, free: 6.125 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.03475, allocations: 477.2 kB / 35.35 MB, free: 5.656 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/0.03479, allocations: 8 kB / 35.36 MB, free: 5.648 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.03481, allocations: 3.984 kB / 35.36 MB, free: 5.645 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.03482, allocations: 0 / 35.36 MB, free: 5.645 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.03637, allocations: 0.92 MB / 36.28 MB, free: 4.672 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.0364, allocations: 4 kB / 36.29 MB, free: 4.668 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.03668, allocations: 40.39 kB / 36.33 MB, free: 4.633 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.0367, allocations: 4 kB / 36.33 MB, free: 4.629 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.03675, allocations: 8.609 kB / 36.34 MB, free: 4.621 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.03676, allocations: 0 / 36.34 MB, free: 4.621 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.03677, allocations: 0 / 36.34 MB, free: 4.621 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.03819, allocations: 0.7123 MB / 37.05 MB, free: 3.887 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.03826, allocations: 100.8 kB / 37.15 MB, free: 3.77 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.673e-05/0.03834, allocations: 14.19 kB / 37.16 MB, free: 3.758 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.0386, allocations: 31.05 kB / 37.19 MB, free: 3.73 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.0388, allocations: 67.86 kB / 37.26 MB, free: 3.664 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.03885, allocations: 11.98 kB / 37.27 MB, free: 3.652 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0001347/0.03899, allocations: 141.6 kB / 37.41 MB, free: 3.516 MB / 18.59 MB Notification: Performance of sort global known variables: time 3.81e-07/0.039, allocations: 0 / 37.41 MB, free: 3.516 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.000637/0.03965, allocations: 151.3 kB / 37.56 MB, free: 3.375 MB / 18.59 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.001957/0.04162, allocations: 1.336 MB / 38.89 MB, free: 2.023 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.0427, allocations: 490 kB / 39.37 MB, free: 1.535 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.04274, allocations: 0 / 39.37 MB, free: 1.535 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.04323, allocations: 263.7 kB / 39.63 MB, free: 1.266 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.04361, allocations: 32.3 kB / 39.66 MB, free: 1.234 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.05982, allocations: 3.169 MB / 42.83 MB, free: 5.246 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.06036, allocations: 0.8608 MB / 43.69 MB, free: 10.94 MB / 24.98 MB Notification: Performance of simCode: alias equations: time 0.0004071/0.06079, allocations: 109.9 kB / 43.8 MB, free: 10.94 MB / 24.98 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.06105, allocations: 124.6 kB / 43.92 MB, free: 10.93 MB / 24.98 MB Notification: Performance of SimCode: time 1.092e-06/0.06107, allocations: 3.609 kB / 43.92 MB, free: 10.93 MB / 24.98 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0389/0.09997, allocations: 6.685 MB / 50.61 MB, free: 4.828 MB / 24.98 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/0.1004, allocations: 144.7 kB / 50.75 MB, free: 4.586 MB / 24.98 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/2.59, allocations: 0 / 50.75 MB, free: 4.586 MB / 24.98 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)