Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.0148/0.0148, allocations: 1.367 MB / 16.33 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.177e-05/2.195e-05, allocations: 4 kB / 23.34 MB, free: 3.977 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006918/0.0007286, allocations: 359 kB / 23.69 MB, free: 3.809 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.0009795/0.001716, allocations: 0.9375 MB / 24.62 MB, free: 3.02 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.00257, allocations: 0.6409 MB / 25.26 MB, free: 2.379 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.002696, allocations: 6.906 kB / 25.27 MB, free: 2.375 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.00287, allocations: 63.52 kB / 25.33 MB, free: 2.312 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.003384, allocations: 231.2 kB / 25.56 MB, free: 2.086 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.323e-05/0.003468, allocations: 23.97 kB / 25.58 MB, free: 2.062 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000221/0.003697, allocations: 323 kB / 25.9 MB, free: 1.746 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.003878, allocations: 129.7 kB / 26.02 MB, free: 1.602 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.852e-05/0.003974, allocations: 123.3 kB / 26.15 MB, free: 1.48 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.004101, allocations: 135.1 kB / 26.28 MB, free: 1.348 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.004139, allocations: 12 kB / 26.29 MB, free: 1.336 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.004368, allocations: 203.6 kB / 26.49 MB, free: 1.137 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.004438, allocations: 71.69 kB / 26.56 MB, free: 1.066 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 4.918e-05/0.004493, allocations: 77.45 kB / 26.63 MB, free: 0.9844 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.004788, allocations: 379.3 kB / 27 MB, free: 0.6133 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.004797, allocations: 0 / 27 MB, free: 0.6133 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004805, allocations: 0 / 27 MB, free: 0.6133 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.004815, allocations: 0 / 27 MB, free: 0.6133 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.0005784/0.005397, allocations: 0.6056 MB / 27.61 MB, free: 4.605 MB / 18.58 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.005443, allocations: 8.297 kB / 27.62 MB, free: 4.598 MB / 18.58 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.00556, allocations: 94.67 kB / 27.71 MB, free: 4.496 MB / 18.58 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.005641, allocations: 45.61 kB / 27.75 MB, free: 4.453 MB / 18.58 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.005989, allocations: 303.7 kB / 28.05 MB, free: 4.117 MB / 18.58 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.006039, allocations: 33.33 kB / 28.08 MB, free: 4.086 MB / 18.58 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.006114, allocations: 44.34 kB / 28.13 MB, free: 4.043 MB / 18.58 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.007163, allocations: 0.6369 MB / 28.76 MB, free: 3.387 MB / 18.58 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.007193, allocations: 4.172 kB / 28.77 MB, free: 3.383 MB / 18.58 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/0.007246, allocations: 19.95 kB / 28.79 MB, free: 3.363 MB / 18.58 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.007325, allocations: 40.97 kB / 28.83 MB, free: 3.324 MB / 18.58 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007187/0.008049, allocations: 455.6 kB / 29.27 MB, free: 2.879 MB / 18.58 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.009932, allocations: 1.501 MB / 30.77 MB, free: 1.246 MB / 18.58 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004164/0.01036, allocations: 243.8 kB / 31.01 MB, free: 1 MB / 18.58 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.01066, allocations: 193.8 kB / 31.2 MB, free: 0.8125 MB / 18.58 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/0.0112, allocations: 0.5897 MB / 31.79 MB, free: 96 kB / 18.58 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.01124, allocations: 42.73 kB / 31.83 MB, free: 44 kB / 18.58 MB Notification: Performance of pre-optimization done (n=23): time 2.775e-06/0.01125, allocations: 0 / 31.83 MB, free: 44 kB / 18.58 MB Notification: Performance of matching and sorting (n=23): time 0.006317/0.01757, allocations: 0.5541 MB / 32.39 MB, free: 7.441 MB / 18.58 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.01763, allocations: 145.7 kB / 32.53 MB, free: 7.285 MB / 18.58 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.01779, allocations: 212.5 kB / 32.74 MB, free: 7.176 MB / 18.58 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01782, allocations: 38.81 kB / 32.77 MB, free: 7.145 MB / 18.58 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.01791, allocations: 215.7 kB / 32.99 MB, free: 7.008 MB / 18.58 MB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.01796, allocations: 72.75 kB / 33.06 MB, free: 6.965 MB / 18.58 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.01798, allocations: 7.469 kB / 33.06 MB, free: 6.965 MB / 18.58 MB Notification: Performance of setup shared object (initialization): time 5.656e-05/0.01804, allocations: 331.4 kB / 33.39 MB, free: 6.652 MB / 18.58 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.01828, allocations: 164.5 kB / 33.55 MB, free: 6.645 MB / 18.58 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.01854, allocations: 248.3 kB / 33.79 MB, free: 6.562 MB / 18.58 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01878, allocations: 191 kB / 33.98 MB, free: 6.531 MB / 18.58 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.0188, allocations: 1.594 kB / 33.98 MB, free: 6.531 MB / 18.58 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006517/0.01945, allocations: 0.5429 MB / 34.52 MB, free: 6.355 MB / 18.58 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.0195, allocations: 45.81 kB / 34.57 MB, free: 6.309 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.01952, allocations: 3.781 kB / 34.57 MB, free: 6.309 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.01954, allocations: 4.25 kB / 34.57 MB, free: 6.305 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.01972, allocations: 59.03 kB / 34.63 MB, free: 6.25 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.01973, allocations: 0 / 34.63 MB, free: 6.25 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.01988, allocations: 51.53 kB / 34.68 MB, free: 6.203 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.01992, allocations: 23.81 kB / 34.7 MB, free: 6.184 MB / 18.58 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001879/0.02011, allocations: 252.9 kB / 34.95 MB, free: 5.941 MB / 18.58 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.02016, allocations: 19.81 kB / 34.97 MB, free: 5.922 MB / 18.58 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.0208, allocations: 492.7 kB / 35.45 MB, free: 5.441 MB / 18.58 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.02083, allocations: 9.219 kB / 35.46 MB, free: 5.434 MB / 18.58 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.02084, allocations: 0 / 35.46 MB, free: 5.434 MB / 18.58 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.02085, allocations: 3.984 kB / 35.47 MB, free: 5.43 MB / 18.58 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009414/0.02179, allocations: 0.9312 MB / 36.4 MB, free: 4.445 MB / 18.58 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.02181, allocations: 0 / 36.4 MB, free: 4.445 MB / 18.58 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.02195, allocations: 43.91 kB / 36.44 MB, free: 4.402 MB / 18.58 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.02196, allocations: 7.953 kB / 36.45 MB, free: 4.395 MB / 18.58 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.02199, allocations: 8 kB / 36.45 MB, free: 4.387 MB / 18.58 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.022, allocations: 0 / 36.45 MB, free: 4.387 MB / 18.58 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.022, allocations: 3.719 kB / 36.46 MB, free: 4.387 MB / 18.58 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007859/0.02279, allocations: 0.7275 MB / 37.19 MB, free: 3.637 MB / 18.58 MB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.02283, allocations: 100.8 kB / 37.28 MB, free: 3.52 MB / 18.58 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.02288, allocations: 19.94 kB / 37.3 MB, free: 3.5 MB / 18.58 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02303, allocations: 31.39 kB / 37.33 MB, free: 3.473 MB / 18.58 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.02315, allocations: 63.83 kB / 37.4 MB, free: 3.414 MB / 18.58 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.02318, allocations: 12 kB / 37.41 MB, free: 3.402 MB / 18.58 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.02326, allocations: 141.2 kB / 37.55 MB, free: 3.266 MB / 18.58 MB Notification: Performance of sort global known variables: time 1.21e-07/0.02327, allocations: 4 kB / 37.55 MB, free: 3.262 MB / 18.58 MB Notification: Performance of remove unused functions: time 0.0003958/0.02367, allocations: 154.3 kB / 37.7 MB, free: 3.117 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 (23): * Single equations (assignments): 20 * 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.001131/0.02481, allocations: 1.334 MB / 39.04 MB, free: 1.766 MB / 18.58 MB Notification: Performance of simCode: created initialization part: time 0.0005973/0.02542, allocations: 0.4883 MB / 39.52 MB, free: 1.27 MB / 18.58 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.02543, allocations: 0 / 39.52 MB, free: 1.27 MB / 18.58 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.02574, allocations: 283 kB / 39.8 MB, free: 0.9805 MB / 18.58 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.02607, allocations: 43.06 kB / 39.84 MB, free: 0.9414 MB / 18.58 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.03475, allocations: 2.02 MB / 41.86 MB, free: 5.766 MB / 18.58 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.03511, allocations: 0.8492 MB / 42.71 MB, free: 11.46 MB / 24.97 MB Notification: Performance of simCode: alias equations: time 0.000205/0.03533, allocations: 115.3 kB / 42.82 MB, free: 11.45 MB / 24.97 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.03548, allocations: 127.8 kB / 42.95 MB, free: 11.45 MB / 24.97 MB Notification: Performance of SimCode: time 4.61e-07/0.03548, allocations: 0 / 42.95 MB, free: 11.45 MB / 24.97 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/0.05213, allocations: 6.779 MB / 49.73 MB, free: 5.266 MB / 24.97 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.05233, allocations: 144.8 kB / 49.87 MB, free: 5.027 MB / 24.97 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/1.874, allocations: 0 / 49.87 MB, free: 5.027 MB / 24.97 MB (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test5_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test5.fmu > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)