Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.043/1.043, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001799/0.001799, allocations: 245.6 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7455/0.7455, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.209e-05, allocations: 5.594 kB / 462.3 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.006458/0.00647, allocations: 2.576 MB / 464.9 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.01111, allocations: 0.957 MB / 465.9 MB, free: 14.58 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001963/0.01131, allocations: 15.59 kB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.0115, allocations: 65.59 kB / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.01165, allocations: 66.86 kB / 466 MB, free: 14.47 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.01212, allocations: 242.2 kB / 466.2 MB, free: 14.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004413/0.01256, allocations: 458.6 kB / 466.7 MB, free: 14.05 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/0.01308, allocations: 146.3 kB / 466.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003256/0.01634, allocations: 237.2 kB / 467.1 MB, free: 13.82 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.01647, allocations: 102.4 kB / 467.2 MB, free: 13.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.448e-05/0.01653, allocations: 54.44 kB / 467.2 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.341e-05/0.01657, allocations: 48 kB / 467.3 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.01663, allocations: 91.3 kB / 467.4 MB, free: 13.6 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.363e-05/0.01672, allocations: 113.8 kB / 467.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.01702, allocations: 298.9 kB / 467.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.01702, allocations: 0 / 467.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01702, allocations: 0 / 467.8 MB, free: 13.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.01703, allocations: 3.938 kB / 467.8 MB, free: 13.2 MB / 426.7 MB 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.0005895/0.01761, allocations: 0.5519 MB / 468.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.758e-05/0.01764, allocations: 8.75 kB / 468.3 MB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.0177, allocations: 52.89 kB / 468.4 MB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/0.01795, allocations: 255.1 kB / 468.6 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.01797, allocations: 21.72 kB / 468.6 MB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.018, allocations: 24.38 kB / 468.7 MB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.01826, allocations: 301.5 kB / 469 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01827, allocations: 192 / 469 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.01828, allocations: 15.28 kB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.01829, allocations: 9.125 kB / 469 MB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.01838, allocations: 64.5 kB / 469.1 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006635/0.01905, allocations: 0.7386 MB / 469.8 MB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.01917, allocations: 91.25 kB / 469.9 MB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.01921, allocations: 25.55 kB / 469.9 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.689e-05/0.01925, allocations: 4.75 kB / 469.9 MB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.01927, allocations: 34.55 kB / 469.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.01927, allocations: 5 kB / 469.9 MB, free: 10.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002169/0.01949, allocations: 107.6 kB / 470.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.01954, allocations: 104.7 kB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.01974, allocations: 258.9 kB / 470.4 MB, free: 10.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.01975, allocations: 29.7 kB / 470.4 MB, free: 10.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.544e-05/0.01984, allocations: 177.2 kB / 470.6 MB, free: 10.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.01987, allocations: 55.53 kB / 470.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.01993, allocations: 42.69 kB / 470.7 MB, free: 10.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.02006, allocations: 338.8 kB / 471 MB, free: 9.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.0201, allocations: 20.86 kB / 471.1 MB, free: 9.734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.02018, allocations: 109.2 kB / 471.2 MB, free: 9.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.931e-05/0.02028, allocations: 68.58 kB / 471.2 MB, free: 9.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.02029, allocations: 5.562 kB / 471.2 MB, free: 9.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001506/0.02044, allocations: 116.2 kB / 471.3 MB, free: 9.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.02045, allocations: 4 kB / 471.4 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.02045, allocations: 0.9062 kB / 471.4 MB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.02047, allocations: 3.984 kB / 471.4 MB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.0206, allocations: 40.7 kB / 471.4 MB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.0206, allocations: 7.922 kB / 471.4 MB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.02068, allocations: 12.95 kB / 471.4 MB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.02069, allocations: 8 kB / 471.4 MB, free: 9.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.645e-05/0.02075, allocations: 101.5 kB / 471.5 MB, free: 9.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 5.333e-05/0.02081, allocations: 102.6 kB / 471.6 MB, free: 9.105 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001349/0.02094, allocations: 81.3 kB / 471.7 MB, free: 9.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-07/0.02094, allocations: 0 / 471.7 MB, free: 9.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 9.867e-05/0.02104, allocations: 106.2 kB / 471.8 MB, free: 8.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.111e-06/0.02105, allocations: 6.031 kB / 471.8 MB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-06/0.02105, allocations: 1.062 kB / 471.8 MB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.02105, allocations: 4 kB / 471.8 MB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.692e-05/0.02112, allocations: 33.11 kB / 471.9 MB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-06/0.02112, allocations: 0.5938 kB / 471.9 MB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.78e-05/0.02117, allocations: 12.7 kB / 471.9 MB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.02117, allocations: 8 kB / 471.9 MB, free: 8.852 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.111e-05/0.02125, allocations: 190.2 kB / 472.1 MB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.02128, allocations: 29.59 kB / 472.1 MB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.109e-05/0.02132, allocations: 30.19 kB / 472.1 MB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.02132, allocations: 3.234 kB / 472.1 MB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02132, allocations: 0 / 472.1 MB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.02133, allocations: 5 kB / 472.1 MB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.0215, allocations: 197.6 kB / 472.3 MB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02151, allocations: 0.5625 kB / 472.3 MB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/0.02158, allocations: 28.95 kB / 472.3 MB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.02159, allocations: 7.938 kB / 472.4 MB, free: 8.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.0216, allocations: 5 kB / 472.4 MB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.0216, allocations: 0.5625 kB / 472.4 MB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.0216, allocations: 0 / 472.4 MB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.02178, allocations: 224 kB / 472.6 MB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.02182, allocations: 24.59 kB / 472.6 MB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.02183, allocations: 8.688 kB / 472.6 MB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.0219, allocations: 13.48 kB / 472.6 MB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.849e-05/0.02193, allocations: 7.984 kB / 472.6 MB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.02193, allocations: 4 kB / 472.6 MB, free: 8.059 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.744e-05/0.02199, allocations: 92.58 kB / 472.7 MB, free: 7.969 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02199, allocations: 1.406 kB / 472.7 MB, free: 7.969 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.02218, allocations: 107.5 kB / 472.8 MB, free: 7.863 MB / 426.7 MB 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 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.669e-05/0.02225, allocations: 80.42 kB / 472.9 MB, free: 7.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.02241, allocations: 121.4 kB / 473 MB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.02241, allocations: 4 kB / 473 MB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.02246, allocations: 45.45 kB / 473.1 MB, free: 7.602 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.0227, allocations: 77.47 kB / 473.2 MB, free: 7.531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.02337, allocations: 0.4935 MB / 473.6 MB, free: 7.012 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.02342, allocations: 90 kB / 473.7 MB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.817e-05/0.0235, allocations: 27.55 kB / 473.8 MB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.02362, allocations: 95.34 kB / 473.9 MB, free: 6.793 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.02362, allocations: 1.812 kB / 473.9 MB, free: 6.793 MB / 426.7 MB Notification: Performance of Templates: time 0.005123/0.02874, allocations: 3.24 MB / 477.1 MB, free: 3.832 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6652099629864097]