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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002361/0.002361, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6952/0.6952, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 391.4 MB, free: 13.07 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.0009463/0.0009463, allocations: 108.3 kB / 473.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.702e-06/6.742e-06, allocations: 1.031 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1786, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.517/0.6956, allocations: 116.1 MB / 0.741 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.6959, allocations: 82.83 kB / 0.741 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01449/0.7104, allocations: 6.562 MB / 0.7474 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.7105, allocations: 3.875 kB / 0.7474 GB, free: 10.97 MB / 0.4948 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.0006527/0.7111, allocations: 0.5567 MB / 0.748 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.7112, allocations: 7.656 kB / 0.748 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.611e-05/0.7113, allocations: 47.62 kB / 0.748 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.7118, allocations: 384.1 kB / 0.7484 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.7118, allocations: 7.812 kB / 0.7484 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/0.7118, allocations: 15.47 kB / 0.7484 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003301/0.7122, allocations: 189.8 kB / 0.7486 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003766/0.7125, allocations: 273.8 kB / 0.7489 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.7126, allocations: 0 / 0.7489 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.7126, allocations: 0 / 0.7489 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.7126, allocations: 7.562 kB / 0.7489 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.7138, allocations: 1.091 MB / 0.7499 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.7142, allocations: 193.3 kB / 0.7501 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.7143, allocations: 81.59 kB / 0.7502 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.7143, allocations: 4.547 kB / 0.7502 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.7143, allocations: 31.12 kB / 0.7502 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.7143, allocations: 0 / 0.7502 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003235/0.7147, allocations: 186.4 kB / 0.7504 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.7147, allocations: 84.86 kB / 0.7505 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.715, allocations: 230.7 kB / 0.7507 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.715, allocations: 25.7 kB / 0.7507 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.7151, allocations: 172.6 kB / 0.7509 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.496e-05/0.7151, allocations: 46.92 kB / 0.751 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.7151, allocations: 0 / 0.751 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7153, allocations: 337 kB / 0.7513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.378e-05/0.7154, allocations: 62.12 kB / 0.7513 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.7155, allocations: 101 kB / 0.7514 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.7156, allocations: 68.69 kB / 0.7515 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7156, allocations: 0 / 0.7515 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002703/0.7159, allocations: 206.3 kB / 0.7517 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.716, allocations: 274.3 kB / 0.752 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.716, allocations: 4.25 kB / 0.752 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.716, allocations: 0 / 0.752 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.7162, allocations: 35.08 kB / 0.752 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.7162, allocations: 8.438 kB / 0.752 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.7163, allocations: 17.97 kB / 0.752 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.7164, allocations: 10.72 kB / 0.752 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.779e-06/0.7164, allocations: 3.844 kB / 0.752 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002027/0.7166, allocations: 142.8 kB / 0.7522 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.7166, allocations: 0 / 0.7522 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-06/0.7166, allocations: 64 / 0.7522 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7167, allocations: 33.45 kB / 0.7522 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.7167, allocations: 0.75 kB / 0.7522 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.641e-05/0.7168, allocations: 12.66 kB / 0.7522 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.7169, allocations: 11.7 kB / 0.7522 GB, free: 24.47 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 9.86e-05/0.717, allocations: 105.3 kB / 0.7523 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.717, allocations: 27.16 kB / 0.7523 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.7171, allocations: 27.91 kB / 0.7524 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7171, allocations: 4.891 kB / 0.7524 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7171, allocations: 0 / 0.7524 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.7171, allocations: 4.594 kB / 0.7524 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.7175, allocations: 357.9 kB / 0.7527 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7175, allocations: 8.438 kB / 0.7527 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.7177, allocations: 26.81 kB / 0.7528 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.7177, allocations: 4.594 kB / 0.7528 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.7177, allocations: 3.375 kB / 0.7528 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.624e-06/0.7177, allocations: 4.609 kB / 0.7528 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7177, allocations: 0 / 0.7528 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004744/0.7182, allocations: 376.4 kB / 0.7531 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.7183, allocations: 126.8 kB / 0.7533 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.7184, allocations: 7.938 kB / 0.7533 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.7185, allocations: 14.83 kB / 0.7533 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.7186, allocations: 11.06 kB / 0.7533 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.7186, allocations: 3.875 kB / 0.7533 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001672/0.7188, allocations: 183.8 kB / 0.7535 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003779/0.7192, allocations: 97.61 kB / 0.7536 GB, free: 23.79 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.00018/0.7194, allocations: 107.4 kB / 0.7537 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.7197, allocations: 244.6 kB / 0.7539 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7197, allocations: 7.875 kB / 0.7539 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.7199, allocations: 77.7 kB / 0.754 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.7203, allocations: 58.44 kB / 0.754 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00095/0.7213, allocations: 394.7 kB / 0.7544 GB, free: 23.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.7217, allocations: 0.8072 MB / 0.7552 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.7217, allocations: 0 / 0.7552 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.006941/0.7287, allocations: 3.813 MB / 0.7589 GB, free: 20.94 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)