Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.00153/0.00153, allocations: 80.75 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.001826/0.001826, allocations: 181 kB / 23.35 MB, free: 1.137 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 0.9637/0.9637, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.00169/0.00169, allocations: 245.8 kB / 260.5 MB, free: 12.68 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.7536/0.7536, allocations: 138.4 MB / 402.2 MB, free: 0.5586 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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.843e-05, allocations: 7.016 kB / 462.4 MB, free: 0.875 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003006/0.003024, allocations: 2.546 MB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.004648, allocations: 1.254 MB / 466.2 MB, free: 14.49 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.00475, allocations: 8.562 kB / 466.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.005121, allocations: 90.56 kB / 466.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.005448, allocations: 185.5 kB / 466.4 MB, free: 14.33 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.005779, allocations: 162.2 kB / 466.6 MB, free: 14.24 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.006081, allocations: 328.1 kB / 466.9 MB, free: 14.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.006315, allocations: 191.9 kB / 467.1 MB, free: 13.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.006562, allocations: 194 kB / 467.3 MB, free: 13.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.006787, allocations: 148.7 kB / 467.4 MB, free: 13.51 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.006814, allocations: 20 kB / 467.5 MB, free: 13.49 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.007033, allocations: 167.6 kB / 467.6 MB, free: 13.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.007114, allocations: 107.7 kB / 467.7 MB, free: 13.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.007181, allocations: 83.83 kB / 467.8 MB, free: 13.14 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.007477, allocations: 300.2 kB / 468.1 MB, free: 12.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.00748, allocations: 0 / 468.1 MB, free: 12.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007481, allocations: 0 / 468.1 MB, free: 12.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.007485, allocations: 0 / 468.1 MB, free: 12.84 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005124/0.007997, allocations: 452.1 kB / 468.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.008027, allocations: 13.48 kB / 468.6 MB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.00849, allocations: 108.7 kB / 468.7 MB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.008688, allocations: 199.7 kB / 468.9 MB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.008701, allocations: 12.88 kB / 468.9 MB, free: 12.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.215e-05/0.008763, allocations: 29.92 kB / 468.9 MB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.00902, allocations: 280.8 kB / 469.2 MB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.009031, allocations: 4.125 kB / 469.2 MB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.009051, allocations: 17.33 kB / 469.2 MB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.842e-05/0.00911, allocations: 30.17 kB / 469.2 MB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.00923, allocations: 83.39 kB / 469.3 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007665/0.009996, allocations: 0.8495 MB / 470.2 MB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.01017, allocations: 146.6 kB / 470.3 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.01022, allocations: 37.72 kB / 470.3 MB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.01027, allocations: 13.11 kB / 470.4 MB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.0103, allocations: 38.56 kB / 470.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.0103, allocations: 0 / 470.4 MB, free: 10.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005201/0.01082, allocations: 359.2 kB / 470.7 MB, free: 10.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.01084, allocations: 55.41 kB / 470.8 MB, free: 10.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.01094, allocations: 173.9 kB / 471 MB, free: 9.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.01096, allocations: 29.7 kB / 471 MB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.01102, allocations: 169.7 kB / 471.2 MB, free: 9.629 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.01106, allocations: 71.41 kB / 471.2 MB, free: 9.559 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.01112, allocations: 53.62 kB / 471.3 MB, free: 9.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.0112, allocations: 330.8 kB / 471.6 MB, free: 9.168 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.32e-05/0.01125, allocations: 28.61 kB / 471.6 MB, free: 9.141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.952e-05/0.01132, allocations: 86.45 kB / 471.7 MB, free: 9.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.01145, allocations: 135.2 kB / 471.8 MB, free: 8.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01145, allocations: 0 / 471.8 MB, free: 8.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002918/0.01174, allocations: 210.2 kB / 472.1 MB, free: 8.672 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01175, allocations: 4 kB / 472.1 MB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01176, allocations: 4.75 kB / 472.1 MB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.01208, allocations: 106.7 kB / 472.2 MB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.0122, allocations: 43.92 kB / 472.2 MB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008762/0.01308, allocations: 1.354 MB / 473.6 MB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.435e-05/0.01316, allocations: 9.688 kB / 473.6 MB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.01317, allocations: 4 kB / 473.6 MB, free: 7.062 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/0.01325, allocations: 125.9 kB / 473.7 MB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.01328, allocations: 20.83 kB / 473.7 MB, free: 6.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.01346, allocations: 145 kB / 473.9 MB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.01346, allocations: 0 / 473.9 MB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01346, allocations: 1.469 kB / 473.9 MB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01347, allocations: 3.984 kB / 473.9 MB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.01383, allocations: 404.2 kB / 474.3 MB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01383, allocations: 0.75 kB / 474.3 MB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.01403, allocations: 69.81 kB / 474.3 MB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01403, allocations: 3.938 kB / 474.3 MB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01404, allocations: 9.641 kB / 474.3 MB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.01405, allocations: 2.594 kB / 474.3 MB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01405, allocations: 0 / 474.3 MB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.01426, allocations: 307.8 kB / 474.6 MB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.0143, allocations: 36.48 kB / 474.7 MB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.01432, allocations: 3.984 kB / 474.7 MB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.0144, allocations: 8.906 kB / 474.7 MB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.01442, allocations: 7.984 kB / 474.7 MB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.01443, allocations: 8.656 kB / 474.7 MB, free: 5.871 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.01447, allocations: 47.81 kB / 474.8 MB, free: 5.824 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01447, allocations: 1.125 kB / 474.8 MB, free: 5.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.01467, allocations: 68 kB / 474.8 MB, free: 5.758 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001054/0.01478, allocations: 97.16 kB / 474.9 MB, free: 5.656 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.0151, allocations: 279.8 kB / 475.2 MB, free: 5.371 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.0151, allocations: 0.625 kB / 475.2 MB, free: 5.371 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.01516, allocations: 51.64 kB / 475.2 MB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.01535, allocations: 41.06 kB / 475.3 MB, free: 5.281 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.01618, allocations: 0.5239 MB / 475.8 MB, free: 4.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.01623, allocations: 100.3 kB / 475.9 MB, free: 4.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.01631, allocations: 28.47 kB / 475.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.01642, allocations: 79.36 kB / 476 MB, free: 4.531 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01642, allocations: 3.938 kB / 476 MB, free: 4.527 MB / 426.7 MB Notification: Performance of Templates: time 0.004586/0.021, allocations: 2.983 MB / 479 MB, free: 1.766 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6022849306464195]