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.008887/0.008888, allocations: 1.33 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.509e-05, allocations: 0 / 19.32 MB, free: 1.895 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006163/0.0006646, allocations: 364.8 kB / 19.68 MB, free: 1.555 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01585/0.01653, allocations: 4.008 MB / 23.69 MB, free: 1.938 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000132/0.0167, allocations: 51.8 kB / 23.74 MB, free: 1.918 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.02887/0.04559, allocations: 6.918 MB / 30.66 MB, free: 240 kB / 18.57 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04564, allocations: 0 / 30.66 MB, free: 240 kB / 18.57 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.04567, allocations: 8 kB / 30.67 MB, free: 232 kB / 18.57 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.01327/0.05896, allocations: 0.6157 MB / 31.28 MB, free: 2.312 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.05902, allocations: 10.19 kB / 31.29 MB, free: 2.312 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.05925, allocations: 89.52 kB / 31.38 MB, free: 2.273 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.05938, allocations: 44.8 kB / 31.42 MB, free: 2.254 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005515/0.05994, allocations: 315.9 kB / 31.73 MB, free: 2.055 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.06001, allocations: 34.52 kB / 31.76 MB, free: 2.051 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.805e-05/0.06011, allocations: 46.5 kB / 31.81 MB, free: 2.051 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.06139, allocations: 0.6073 MB / 32.42 MB, free: 1.969 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.06143, allocations: 0 / 32.42 MB, free: 1.969 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/0.06151, allocations: 23.38 kB / 32.44 MB, free: 1.965 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-05/0.0616, allocations: 33.53 kB / 32.47 MB, free: 1.965 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009254/0.06254, allocations: 400.9 kB / 32.86 MB, free: 1.961 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.06477, allocations: 1.149 MB / 34.01 MB, free: 1.543 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.06535, allocations: 304.8 kB / 34.31 MB, free: 1.418 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003139/0.06568, allocations: 160.8 kB / 34.47 MB, free: 1.41 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.06631, allocations: 0.603 MB / 35.07 MB, free: 6.953 MB / 24.78 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.06637, allocations: 36.94 kB / 35.11 MB, free: 6.914 MB / 24.78 MB Notification: Performance of pre-optimization done (n=22): time 3.075e-06/0.06639, allocations: 3.906 kB / 35.11 MB, free: 6.914 MB / 24.78 MB Notification: Performance of matching and sorting (n=22): time 0.000818/0.06721, allocations: 302.3 kB / 35.41 MB, free: 6.844 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.06735, allocations: 149.8 kB / 35.55 MB, free: 6.688 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.06764, allocations: 208.2 kB / 35.76 MB, free: 6.578 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.0677, allocations: 29.67 kB / 35.79 MB, free: 6.547 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.06787, allocations: 219.3 kB / 36 MB, free: 6.398 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.06797, allocations: 75.31 kB / 36.07 MB, free: 6.355 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.06801, allocations: 8.844 kB / 36.08 MB, free: 6.355 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.06818, allocations: 337.2 kB / 36.41 MB, free: 6.039 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.0685, allocations: 130.6 kB / 36.54 MB, free: 6.035 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.06889, allocations: 245.4 kB / 36.78 MB, free: 5.914 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.06925, allocations: 177 kB / 36.95 MB, free: 5.883 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.06927, allocations: 0 / 36.95 MB, free: 5.883 MB / 24.78 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009521/0.07023, allocations: 457.6 kB / 37.4 MB, free: 5.785 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-05/0.07033, allocations: 47.56 kB / 37.44 MB, free: 5.75 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.07035, allocations: 4.641 kB / 37.45 MB, free: 5.75 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.07038, allocations: 4.312 kB / 37.45 MB, free: 5.75 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.07071, allocations: 52.45 kB / 37.5 MB, free: 5.746 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.07074, allocations: 9.75 kB / 37.51 MB, free: 5.746 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.07103, allocations: 47.09 kB / 37.56 MB, free: 5.734 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.07112, allocations: 24.66 kB / 37.58 MB, free: 5.734 MB / 24.78 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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.000232/0.07137, allocations: 182 kB / 37.76 MB, free: 5.582 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.07145, allocations: 24.59 kB / 37.79 MB, free: 5.57 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008903/0.07235, allocations: 383.5 kB / 38.16 MB, free: 5.496 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.717e-05/0.0724, allocations: 6.25 kB / 38.17 MB, free: 5.496 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.07241, allocations: 0 / 38.17 MB, free: 5.496 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.07243, allocations: 0 / 38.17 MB, free: 5.496 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.07383, allocations: 0.8085 MB / 38.97 MB, free: 4.992 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.07385, allocations: 0 / 38.97 MB, free: 4.992 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.07414, allocations: 39.77 kB / 39.01 MB, free: 4.961 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/0.07416, allocations: 4 kB / 39.02 MB, free: 4.957 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.0742, allocations: 8.906 kB / 39.03 MB, free: 4.953 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.07422, allocations: 0 / 39.03 MB, free: 4.953 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.07423, allocations: 0 / 39.03 MB, free: 4.953 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.07552, allocations: 0.5911 MB / 39.62 MB, free: 4.398 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 9.14e-05/0.07563, allocations: 96.86 kB / 39.71 MB, free: 4.285 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.246e-05/0.07572, allocations: 11.56 kB / 39.72 MB, free: 4.277 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.076, allocations: 27.52 kB / 39.75 MB, free: 4.254 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.07622, allocations: 61.41 kB / 39.81 MB, free: 4.219 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.772e-05/0.07629, allocations: 19.8 kB / 39.83 MB, free: 4.203 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0001982/0.07651, allocations: 149.4 kB / 39.98 MB, free: 4.066 MB / 24.78 MB Notification: Performance of sort global known variables: time 2.695e-06/0.07652, allocations: 0 / 39.98 MB, free: 4.066 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0007516/0.07728, allocations: 161 kB / 40.13 MB, free: 3.93 MB / 24.78 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 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * 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.002101/0.0794, allocations: 1.252 MB / 41.38 MB, free: 2.738 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.0805, allocations: 453.6 kB / 41.83 MB, free: 2.32 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.08052, allocations: 0 / 41.83 MB, free: 2.32 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.08103, allocations: 251.6 kB / 42.07 MB, free: 2.082 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.08142, allocations: 27.86 kB / 42.1 MB, free: 2.059 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.08359, allocations: 0.7236 MB / 42.82 MB, free: 1.426 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005462/0.08418, allocations: 0.8563 MB / 43.68 MB, free: 0.6094 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.08456, allocations: 79.97 kB / 43.76 MB, free: 0.5586 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.08484, allocations: 118.3 kB / 43.87 MB, free: 468 kB / 24.78 MB Notification: Performance of SimCode: time 1.232e-06/0.08486, allocations: 0 / 43.87 MB, free: 468 kB / 24.78 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/0.1292, allocations: 6.685 MB / 50.56 MB, free: 4.973 MB / 24.78 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.1294, allocations: 113.9 kB / 50.67 MB, free: 4.781 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/2.92, allocations: 0 / 50.67 MB, free: 4.781 MB / 24.78 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)