Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8836/0.8836, allocations: 130.6 MB / 143.8 MB, free: 13.56 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 221.3 MB / 396.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000845/0.0008453, allocations: 105.3 kB / 479 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.402e-05, allocations: 3.781 kB / 0.5551 GB, free: 86.12 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 81.59 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6318/0.7968, allocations: 116.8 MB / 0.7489 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.7971, allocations: 85.34 kB / 0.7489 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.8127, allocations: 6.927 MB / 0.7557 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8128, allocations: 4 kB / 0.7557 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.31e-05/0.8128, allocations: 6.906 kB / 0.7557 GB, free: 27.02 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007242/0.8135, allocations: 0.5446 MB / 0.7562 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.8136, allocations: 11.69 kB / 0.7563 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.8137, allocations: 50.78 kB / 0.7563 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.8143, allocations: 374.7 kB / 0.7567 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.8143, allocations: 21.31 kB / 0.7567 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.71e-05/0.8144, allocations: 28.28 kB / 0.7567 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.8149, allocations: 299 kB / 0.757 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.8149, allocations: 3.938 kB / 0.757 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.8149, allocations: 18 kB / 0.757 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.815, allocations: 7.719 kB / 0.757 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003094/0.8153, allocations: 206.5 kB / 0.7572 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.8166, allocations: 1.164 MB / 0.7584 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.817, allocations: 201.3 kB / 0.7586 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.8171, allocations: 85.42 kB / 0.7586 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.8171, allocations: 7.938 kB / 0.7586 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.8172, allocations: 38.27 kB / 0.7587 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.8172, allocations: 3.812 kB / 0.7587 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003326/0.8175, allocations: 196.8 kB / 0.7589 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.8176, allocations: 80.83 kB / 0.7589 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.8179, allocations: 285.8 kB / 0.7592 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.8179, allocations: 29.58 kB / 0.7592 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.818, allocations: 201.5 kB / 0.7594 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.8181, allocations: 53.55 kB / 0.7595 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-06/0.8181, allocations: 3.438 kB / 0.7595 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8182, allocations: 339.1 kB / 0.7598 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.697e-05/0.8183, allocations: 66.47 kB / 0.7599 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.8184, allocations: 99.89 kB / 0.76 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.8185, allocations: 76.11 kB / 0.76 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8186, allocations: 0 / 0.76 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002791/0.8188, allocations: 227.7 kB / 0.7603 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.819, allocations: 269.9 kB / 0.7605 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.819, allocations: 0 / 0.7605 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.819, allocations: 7.594 kB / 0.7605 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.8192, allocations: 30.58 kB / 0.7606 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.8192, allocations: 7.938 kB / 0.7606 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.8193, allocations: 26.34 kB / 0.7606 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.8193, allocations: 3.656 kB / 0.7606 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.8193, allocations: 3.781 kB / 0.7606 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002315/0.8196, allocations: 161.3 kB / 0.7608 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.8196, allocations: 3.875 kB / 0.7608 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-06/0.8196, allocations: 0 / 0.7608 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.8197, allocations: 32.7 kB / 0.7608 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.8197, allocations: 0 / 0.7608 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.8198, allocations: 17.97 kB / 0.7608 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.8199, allocations: 5.219 kB / 0.7608 GB, free: 24.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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.0001026/0.82, allocations: 122 kB / 0.7609 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.82, allocations: 39.56 kB / 0.761 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.8201, allocations: 37.89 kB / 0.761 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8201, allocations: 0 / 0.761 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8201, allocations: 3.844 kB / 0.761 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8202, allocations: 3.938 kB / 0.761 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.8206, allocations: 403.7 kB / 0.7614 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8206, allocations: 3.875 kB / 0.7614 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.8207, allocations: 31 kB / 0.7614 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.8208, allocations: 3.844 kB / 0.7614 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.8208, allocations: 4 kB / 0.7614 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.8208, allocations: 0 / 0.7614 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.8208, allocations: 3.984 kB / 0.7614 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.8212, allocations: 394.8 kB / 0.7618 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8214, allocations: 129.8 kB / 0.7619 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.8214, allocations: 15.22 kB / 0.762 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.8215, allocations: 11.75 kB / 0.762 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.8216, allocations: 15.23 kB / 0.762 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.8216, allocations: 3.844 kB / 0.762 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002028/0.8218, allocations: 233.9 kB / 0.7622 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8218, allocations: 0 / 0.7622 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003471/0.8222, allocations: 90.56 kB / 0.7623 GB, free: 23.25 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.00013/0.8223, allocations: 112.2 kB / 0.7624 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.8227, allocations: 258 kB / 0.7626 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.8227, allocations: 0 / 0.7626 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.8228, allocations: 85.34 kB / 0.7627 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.8233, allocations: 62.17 kB / 0.7628 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.8241, allocations: 422.7 kB / 0.7632 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.8245, allocations: 0.7858 MB / 0.764 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.8247, allocations: 42.08 kB / 0.764 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.853e-05/0.8247, allocations: 22.88 kB / 0.764 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.8247, allocations: 0 / 0.764 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of Templates: time 0.005966/0.8307, allocations: 3.511 MB / 0.7674 GB, free: 20.47 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)