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.0009402/0.0009402, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002199, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009957/0.0009957, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.00224, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.919/0.919, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08017/0.9992, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001229/0.001229, allocations: 233.7 kB / 244.2 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009027/0.002132, allocations: 463.6 kB / 244.6 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6663/0.6663, allocations: 138.7 MB / 384.1 MB, free: 476 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06694/0.7332, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.463e-06/1.463e-06, allocations: 0 / 427.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.497e-06/1.096e-05, allocations: 10.31 kB / 427.8 MB, free: 4.641 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.002626/0.002637, allocations: 2.577 MB / 430.3 MB, free: 2.047 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.004119, allocations: 1.27 MB / 431.6 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004221, allocations: 7.938 kB / 431.6 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.004533, allocations: 111.4 kB / 431.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.004846, allocations: 210.8 kB / 431.9 MB, free: 456 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.005175, allocations: 163.5 kB / 432.1 MB, free: 292 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1912/0.1964, allocations: 350.6 kB / 432.4 MB, free: 1.211 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.1968, allocations: 170.1 kB / 432.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.1971, allocations: 217.5 kB / 432.8 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.1974, allocations: 166.9 kB / 433 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.395e-05/0.1975, allocations: 21.78 kB / 433 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003249/0.1978, allocations: 163 kB / 433.2 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.1979, allocations: 102.1 kB / 433.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.201, allocations: 71.95 kB / 433.3 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.2014, allocations: 270 kB / 433.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.441e-05/0.2014, allocations: 1.094 kB / 433.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.2014, allocations: 0 / 433.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.2014, allocations: 2.469 kB / 433.6 MB, free: 1.207 MB / 410.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.000709/0.2021, allocations: 0.4969 MB / 434.1 MB, free: 16.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.2022, allocations: 12.5 kB / 434.1 MB, free: 16.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005837/0.2027, allocations: 195.9 kB / 434.3 MB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.203, allocations: 192.1 kB / 434.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.203, allocations: 14.59 kB / 434.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.2031, allocations: 27.3 kB / 434.5 MB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005794/0.2037, allocations: 282.6 kB / 434.8 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.2037, allocations: 192 / 434.8 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2037, allocations: 12.66 kB / 434.8 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.2038, allocations: 32.89 kB / 434.9 MB, free: 16.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.2069, allocations: 86.41 kB / 434.9 MB, free: 16.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.2079, allocations: 0.8412 MB / 435.8 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.2081, allocations: 151.6 kB / 435.9 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.2081, allocations: 38.05 kB / 436 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.2082, allocations: 14.75 kB / 436 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.2082, allocations: 33.58 kB / 436 MB, free: 15.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.2082, allocations: 0 / 436 MB, free: 15.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006122/0.2088, allocations: 366.9 kB / 436.4 MB, free: 15.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2088, allocations: 54.41 kB / 436.4 MB, free: 15.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.209, allocations: 168.7 kB / 436.6 MB, free: 15.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.209, allocations: 30.61 kB / 436.6 MB, free: 15.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.209, allocations: 170.3 kB / 436.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.2091, allocations: 66.11 kB / 436.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.2091, allocations: 56.97 kB / 436.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.105e-05/0.2092, allocations: 330.4 kB / 437.2 MB, free: 14.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.377e-05/0.2093, allocations: 30.88 kB / 437.3 MB, free: 14.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.473e-05/0.2094, allocations: 81.48 kB / 437.3 MB, free: 14.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.2095, allocations: 139.4 kB / 437.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2095, allocations: 0.7031 kB / 437.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002452/0.212, allocations: 207.2 kB / 437.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.212, allocations: 5.844 kB / 437.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.212, allocations: 3.266 kB / 437.7 MB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.2125, allocations: 103.6 kB / 437.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.2128, allocations: 50.75 kB / 437.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.2141, allocations: 1.349 MB / 439.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2142, allocations: 11.09 kB / 439.2 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2142, allocations: 8.094 kB / 439.2 MB, free: 13.64 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.0001321/0.2144, allocations: 125 kB / 439.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.2144, allocations: 16.97 kB / 439.3 MB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.2147, allocations: 142.1 kB / 439.5 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2147, allocations: 11.59 kB / 439.5 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.2147, allocations: 2.125 kB / 439.5 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.2147, allocations: 2.656 kB / 439.5 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005489/0.2153, allocations: 413.8 kB / 439.9 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2153, allocations: 0 / 439.9 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.2156, allocations: 69.19 kB / 440 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.2156, allocations: 35 kB / 440 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2156, allocations: 1.344 kB / 440 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.2156, allocations: 5.641 kB / 440 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.2156, allocations: 4 kB / 440 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2156, allocations: 0 / 440 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.216, allocations: 310.3 kB / 440.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.216, allocations: 6.031 kB / 440.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.2161, allocations: 6.281 kB / 440.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.2162, allocations: 15.36 kB / 440.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2162, allocations: 2.75 kB / 440.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.259e-05/0.2162, allocations: 54.5 kB / 440.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2162, allocations: 0 / 440.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.2166, allocations: 69.38 kB / 440.5 MB, free: 13.01 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.000154/0.2168, allocations: 89.12 kB / 440.6 MB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004476/0.2172, allocations: 278.5 kB / 440.8 MB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/0.2172, allocations: 4.344 kB / 440.8 MB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.444e-05/0.2173, allocations: 59.92 kB / 440.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2176, allocations: 53.27 kB / 440.9 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.2211, allocations: 0.517 MB / 441.5 MB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.278e-05/0.2212, allocations: 102.9 kB / 441.6 MB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.2213, allocations: 22.67 kB / 441.6 MB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.2215, allocations: 83.78 kB / 441.7 MB, free: 12.42 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2215, allocations: 0.625 kB / 441.7 MB, free: 12.42 MB / 426.7 MB Notification: Performance of Templates: time 0.006915/0.2284, allocations: 3.031 MB / 444.7 MB, free: 12.18 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.2491828557103872]