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.0009554/0.0009554, allocations: 80.94 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.0009987/0.0009987, allocations: 173.4 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 0.9367/0.9367, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.00168/0.00168, allocations: 246.3 kB / 260.5 MB, free: 12.69 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.6959/0.6959, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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.473e-06/1.473e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.208e-05, allocations: 3.375 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004532/0.004554, allocations: 2.499 MB / 464.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.007157, allocations: 1.256 MB / 466.1 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.007314, allocations: 4.344 kB / 466.1 MB, free: 14.53 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.007864, allocations: 97.94 kB / 466.2 MB, free: 14.48 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.008399, allocations: 184.3 kB / 466.3 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.008936, allocations: 163.1 kB / 466.5 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000485/0.009421, allocations: 338.2 kB / 466.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.00976, allocations: 183.7 kB / 467 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003791/0.01014, allocations: 196.9 kB / 467.2 MB, free: 13.78 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003321/0.01047, allocations: 143.6 kB / 467.3 MB, free: 13.64 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.01052, allocations: 24 kB / 467.4 MB, free: 13.61 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003172/0.01083, allocations: 144.5 kB / 467.5 MB, free: 13.47 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01096, allocations: 119.7 kB / 467.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.01107, allocations: 85.39 kB / 467.7 MB, free: 13.27 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.01152, allocations: 298.9 kB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.01153, allocations: 4 kB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01153, allocations: 0 / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.01154, allocations: 1.688 kB / 468 MB, free: 12.98 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.0007461/0.01228, allocations: 446.7 kB / 468.4 MB, free: 12.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01232, allocations: 14.78 kB / 468.5 MB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007041/0.01302, allocations: 120.6 kB / 468.6 MB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.0133, allocations: 178.4 kB / 468.7 MB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.01332, allocations: 26.58 kB / 468.8 MB, free: 12.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.01342, allocations: 24.56 kB / 468.8 MB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.01382, allocations: 277.5 kB / 469.1 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.01383, allocations: 8.797 kB / 469.1 MB, free: 11.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.01386, allocations: 8.125 kB / 469.1 MB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.332e-05/0.01395, allocations: 37.03 kB / 469.1 MB, free: 11.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.01416, allocations: 84.98 kB / 469.2 MB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.01538, allocations: 0.8365 MB / 470 MB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.01567, allocations: 162.8 kB / 470.2 MB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.981e-05/0.01574, allocations: 33.81 kB / 470.2 MB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-05/0.01583, allocations: 8 kB / 470.2 MB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.01586, allocations: 35.72 kB / 470.3 MB, free: 10.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.01586, allocations: 0 / 470.3 MB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007885/0.01665, allocations: 370.4 kB / 470.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.01668, allocations: 52.5 kB / 470.7 MB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.01682, allocations: 173 kB / 470.9 MB, free: 9.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.01685, allocations: 29.7 kB / 470.9 MB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.238e-05/0.01693, allocations: 169.2 kB / 471.1 MB, free: 9.762 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.01698, allocations: 71.41 kB / 471.1 MB, free: 9.691 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-05/0.01708, allocations: 53.64 kB / 471.2 MB, free: 9.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.678e-05/0.01717, allocations: 332.2 kB / 471.5 MB, free: 9.301 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.01725, allocations: 29.81 kB / 471.5 MB, free: 9.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.01735, allocations: 94.62 kB / 471.6 MB, free: 9.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.01755, allocations: 141 kB / 471.8 MB, free: 9.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01755, allocations: 0 / 471.8 MB, free: 9.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004463/0.018, allocations: 205.1 kB / 472 MB, free: 8.801 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01802, allocations: 10.19 kB / 472 MB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01802, allocations: 0 / 472 MB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/0.01852, allocations: 99.45 kB / 472.1 MB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.01871, allocations: 47.91 kB / 472.1 MB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.02001, allocations: 1.351 MB / 473.5 MB, free: 7.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.02016, allocations: 9.938 kB / 473.5 MB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.02018, allocations: 9.078 kB / 473.5 MB, free: 7.191 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 0.0001174/0.0203, allocations: 124.6 kB / 473.6 MB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.02035, allocations: 12.7 kB / 473.6 MB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.02062, allocations: 149.9 kB / 473.8 MB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.02062, allocations: 4 kB / 473.8 MB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.02063, allocations: 1.219 kB / 473.8 MB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.02063, allocations: 0 / 473.8 MB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.02119, allocations: 403.4 kB / 474.2 MB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02119, allocations: 0 / 474.2 MB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.02144, allocations: 57.88 kB / 474.2 MB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.02144, allocations: 5.312 kB / 474.2 MB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.02146, allocations: 0 / 474.2 MB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.02146, allocations: 4 kB / 474.2 MB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.02147, allocations: 0 / 474.2 MB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.02181, allocations: 316 kB / 474.5 MB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.74e-05/0.02187, allocations: 27.83 kB / 474.6 MB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.02191, allocations: 8 kB / 474.6 MB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.02205, allocations: 4 kB / 474.6 MB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.02208, allocations: 16.77 kB / 474.6 MB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.0221, allocations: 0 / 474.6 MB, free: 6.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.782e-05/0.02216, allocations: 59.8 kB / 474.6 MB, free: 5.969 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02216, allocations: 4.75 kB / 474.7 MB, free: 5.965 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003582/0.02252, allocations: 64 kB / 474.7 MB, free: 5.902 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.0001448/0.02267, allocations: 93.97 kB / 474.8 MB, free: 5.805 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.02313, allocations: 273.9 kB / 475.1 MB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.02314, allocations: 0 / 475.1 MB, free: 5.523 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.944e-05/0.02323, allocations: 56.72 kB / 475.1 MB, free: 5.465 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.02353, allocations: 35.55 kB / 475.2 MB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.02475, allocations: 0.5281 MB / 475.7 MB, free: 4.895 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.426e-05/0.02484, allocations: 104.3 kB / 475.8 MB, free: 4.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.02495, allocations: 23.64 kB / 475.8 MB, free: 4.758 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.0251, allocations: 84.47 kB / 475.9 MB, free: 4.676 MB / 426.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0251, allocations: 0 / 475.9 MB, free: 4.676 MB / 426.7 MB Notification: Performance of Templates: time 0.005611/0.03071, allocations: 2.977 MB / 478.9 MB, free: 1.922 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.379316361155361]