Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test8,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01704/0.01704, allocations: 1.357 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.74e-05/1.75e-05, allocations: 2.375 kB / 23.32 MB, free: 3.973 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0007002/0.0007451, allocations: 357.2 kB / 23.67 MB, free: 3.812 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004887/0.005647, allocations: 4.116 MB / 27.79 MB, free: 4.465 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001571/0.005853, allocations: 47.98 kB / 27.83 MB, free: 4.418 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.05114/0.05701, allocations: 11.03 MB / 38.86 MB, free: 2.473 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.693e-06/0.05705, allocations: 0 / 38.86 MB, free: 2.473 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.07e-05/0.0571, allocations: 16.5 kB / 38.88 MB, free: 2.457 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00138/0.05849, allocations: 0.8936 MB / 39.77 MB, free: 1.504 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.05854, allocations: 12.28 kB / 39.78 MB, free: 1.492 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002166/0.05877, allocations: 143.5 kB / 39.92 MB, free: 1.344 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.05895, allocations: 80.02 kB / 40 MB, free: 1.266 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008254/0.05979, allocations: 445.9 kB / 40.43 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.05987, allocations: 70.33 kB / 40.5 MB, free: 0.7188 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.06004, allocations: 96.22 kB / 40.6 MB, free: 0.625 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.07634, allocations: 1.168 MB / 41.77 MB, free: 1.582 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.07643, allocations: 0 / 41.77 MB, free: 1.582 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.07657, allocations: 38.12 kB / 41.8 MB, free: 1.582 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.07674, allocations: 56.3 kB / 41.86 MB, free: 1.582 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.07879, allocations: 0.8239 MB / 42.68 MB, free: 1.57 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.08252, allocations: 2.017 MB / 44.7 MB, free: 1.004 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.08376, allocations: 0.6179 MB / 45.32 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/0.08439, allocations: 0.5961 MB / 45.91 MB, free: 6.328 MB / 24.78 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.08445, allocations: 40.88 kB / 45.95 MB, free: 6.289 MB / 24.78 MB Notification: Performance of pre-optimization done (n=40): time 2.835e-06/0.08446, allocations: 3.938 kB / 45.96 MB, free: 6.285 MB / 24.78 MB Notification: Performance of matching and sorting (n=40): time 0.002265/0.08673, allocations: 1.069 MB / 47.03 MB, free: 5.723 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.08691, allocations: 218.9 kB / 47.24 MB, free: 5.492 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.08732, allocations: 297.3 kB / 47.53 MB, free: 5.328 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 7.398e-05/0.0874, allocations: 37.3 kB / 47.57 MB, free: 5.289 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/0.08771, allocations: 351.9 kB / 47.91 MB, free: 5.051 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.0879, allocations: 130.3 kB / 48.04 MB, free: 4.957 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.08797, allocations: 15.69 kB / 48.05 MB, free: 4.949 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.08816, allocations: 349 kB / 48.39 MB, free: 4.621 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007595/0.08893, allocations: 279.6 kB / 48.67 MB, free: 4.543 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009217/0.08986, allocations: 466.9 kB / 49.12 MB, free: 4.238 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008492/0.09073, allocations: 367.8 kB / 49.48 MB, free: 3.977 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.09075, allocations: 0 / 49.48 MB, free: 3.977 MB / 24.78 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002173/0.09293, allocations: 0.833 MB / 50.31 MB, free: 3.23 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.09307, allocations: 91.89 kB / 50.4 MB, free: 3.137 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.09309, allocations: 6.562 kB / 50.41 MB, free: 3.133 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.09313, allocations: 12 kB / 50.42 MB, free: 3.121 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.09367, allocations: 93.38 kB / 50.51 MB, free: 3.043 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.09371, allocations: 14.38 kB / 50.53 MB, free: 3.031 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005077/0.09423, allocations: 77.53 kB / 50.6 MB, free: 2.965 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.09436, allocations: 47.8 kB / 50.65 MB, free: 2.922 MB / 24.78 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P3.emptying,P2.emptying,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.fed[1],T2.activation.fed[1],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 (68): * Single equations (assignments): 63 * Array equations: 3 * Algorithm blocks: 2 * 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.0006713/0.09504, allocations: 393.3 kB / 51.03 MB, free: 2.559 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.09516, allocations: 39.58 kB / 51.07 MB, free: 2.52 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.09716, allocations: 0.723 MB / 51.8 MB, free: 1.891 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/0.09722, allocations: 8 kB / 51.8 MB, free: 1.883 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.09724, allocations: 0 / 51.8 MB, free: 1.883 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.09726, allocations: 3.797 kB / 51.81 MB, free: 1.883 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.1003, allocations: 1.363 MB / 53.17 MB, free: 0.6797 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.1004, allocations: 11.75 kB / 53.18 MB, free: 0.6719 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.1009, allocations: 54.92 kB / 53.24 MB, free: 0.625 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.1009, allocations: 0 / 53.24 MB, free: 0.625 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.101, allocations: 25.86 kB / 53.26 MB, free: 0.6055 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.101, allocations: 10.48 kB / 53.27 MB, free: 0.6016 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.101, allocations: 0.8125 kB / 53.27 MB, free: 0.6016 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01842/0.1194, allocations: 1.103 MB / 54.37 MB, free: 6.848 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.1196, allocations: 113.7 kB / 54.49 MB, free: 6.754 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.1197, allocations: 23.25 kB / 54.51 MB, free: 6.754 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.1202, allocations: 45.95 kB / 54.55 MB, free: 6.754 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.1205, allocations: 113.6 kB / 54.66 MB, free: 6.754 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/0.1206, allocations: 31.3 kB / 54.69 MB, free: 6.754 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0002621/0.1209, allocations: 199.8 kB / 54.89 MB, free: 6.676 MB / 24.78 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1209, allocations: 3.906 kB / 54.89 MB, free: 6.676 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0008992/0.1218, allocations: 223.8 kB / 55.11 MB, free: 6.676 MB / 24.78 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: 13 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 3 * Algorithm blocks: 2 * 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.003728/0.1256, allocations: 1.786 MB / 56.9 MB, free: 5.957 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.001906/0.1275, allocations: 0.9018 MB / 57.8 MB, free: 5.824 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.1276, allocations: 0 / 57.8 MB, free: 5.824 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.0009602/0.1285, allocations: 0.4998 MB / 58.3 MB, free: 5.699 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.129, allocations: 46.83 kB / 58.35 MB, free: 5.699 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/0.1362, allocations: 6.658 MB / 65 MB, free: 388 kB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01783/0.154, allocations: 1.027 MB / 66.03 MB, free: 6.07 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.0006739/0.1548, allocations: 145.6 kB / 66.17 MB, free: 6.066 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/0.1552, allocations: 232 kB / 66.4 MB, free: 6.062 MB / 24.78 MB Notification: Performance of SimCode: time 8.32e-07/0.1552, allocations: 0 / 66.4 MB, free: 6.062 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05754/0.2128, allocations: 10.76 MB / 77.16 MB, free: 5.371 MB / 24.78 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.213, allocations: 152.8 kB / 77.31 MB, free: 5.125 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/2.933, allocations: 0 / 77.31 MB, free: 5.125 MB / 24.78 MB (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test8.fmu > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)