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.001594/0.001594, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001854/0.001854, allocations: 212.3 kB / 23.01 MB, free: 4.566 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.002642/0.002642, allocations: 280.5 kB / 313.5 MB, free: 2.836 MB / 238.1 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 1.269/1.269, allocations: 180.6 MB / 0.5377 GB, free: 12.93 MB / 382.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002971/0.002971, allocations: 101.7 kB / 0.7408 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.176, allocations: 95.38 MB / 0.834 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005038/0.181, allocations: 3.22 MB / 0.8371 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003/0.184, allocations: 1.823 MB / 0.8389 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1841, allocations: 4 kB / 0.8389 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.1852, allocations: 340.6 kB / 0.8392 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.1856, allocations: 219.1 kB / 0.8394 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004251/0.1861, allocations: 179.5 kB / 0.8396 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000404/0.1865, allocations: 323 kB / 0.8399 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003356/0.1868, allocations: 176.9 kB / 0.8401 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1871, allocations: 139.6 kB / 0.8402 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003228/0.1874, allocations: 167.4 kB / 0.8404 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1874, allocations: 24 kB / 0.8404 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.1878, allocations: 255.5 kB / 0.8406 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.1879, allocations: 103.7 kB / 0.8407 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1881, allocations: 127.3 kB / 0.8408 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.1886, allocations: 422.5 kB / 0.8412 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1886, allocations: 0 / 0.8412 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.51e-07/0.1886, allocations: 0 / 0.8412 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1886, allocations: 0 / 0.8412 GB, free: 0.5469 MB / 0.5762 GB 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.0009302/0.1896, allocations: 489.3 kB / 0.8417 GB, free: 36 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1896, allocations: 20.69 kB / 0.8417 GB, free: 16 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.1903, allocations: 96.64 kB / 0.8418 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.1906, allocations: 190.8 kB / 0.842 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.1906, allocations: 20.8 kB / 0.842 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.1907, allocations: 28.5 kB / 0.8421 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1913, allocations: 376.7 kB / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1913, allocations: 0 / 0.8424 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/0.1913, allocations: 15.98 kB / 0.8424 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.236e-05/0.1914, allocations: 28.41 kB / 0.8425 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004926/0.1919, allocations: 309.5 kB / 0.8427 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.1938, allocations: 1.479 MB / 0.8442 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.1943, allocations: 214.4 kB / 0.8444 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1944, allocations: 108.8 kB / 0.8445 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1945, allocations: 15.97 kB / 0.8445 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.1946, allocations: 34.5 kB / 0.8445 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.1946, allocations: 3.938 kB / 0.8446 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001245/0.1958, allocations: 0.716 MB / 0.8453 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1959, allocations: 55.36 kB / 0.8453 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.1961, allocations: 199.8 kB / 0.8455 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.1961, allocations: 29.7 kB / 0.8455 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1962, allocations: 164.2 kB / 0.8457 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.1963, allocations: 71.38 kB / 0.8457 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.1964, allocations: 53.7 kB / 0.8458 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1965, allocations: 334.8 kB / 0.8461 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.1967, allocations: 107.9 kB / 0.8462 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.197, allocations: 183 kB / 0.8464 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.1974, allocations: 301.7 kB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1974, allocations: 4 kB / 0.8467 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00077/0.1982, allocations: 413.2 kB / 0.8471 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1982, allocations: 11.98 kB / 0.8471 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1982, allocations: 0 / 0.8471 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/0.1986, allocations: 101 kB / 0.8472 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.1989, allocations: 51.91 kB / 0.8472 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.201, allocations: 1.772 MB / 0.849 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.2012, allocations: 15.92 kB / 0.849 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.2012, allocations: 15.98 kB / 0.849 GB, free: 8.113 MB / 0.5919 GB 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.0001646/0.2014, allocations: 154.4 kB / 0.8491 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.2014, allocations: 19.89 kB / 0.8492 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.202, allocations: 291.4 kB / 0.8494 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.202, allocations: 7.984 kB / 0.8495 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.202, allocations: 0 / 0.8495 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.202, allocations: 3.938 kB / 0.8495 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.203, allocations: 0.6803 MB / 0.8501 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.203, allocations: 4 kB / 0.8501 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003538/0.2034, allocations: 51.95 kB / 0.8502 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2034, allocations: 8.062 kB / 0.8502 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.2034, allocations: 15.88 kB / 0.8502 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2034, allocations: 3.938 kB / 0.8502 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2034, allocations: 0 / 0.8502 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.2041, allocations: 0.5152 MB / 0.8507 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2042, allocations: 43.84 kB / 0.8507 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2042, allocations: 12.06 kB / 0.8508 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2044, allocations: 11.97 kB / 0.8508 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.2044, allocations: 11.98 kB / 0.8508 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.2044, allocations: 4 kB / 0.8508 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001356/0.2046, allocations: 148 kB / 0.8509 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2046, allocations: 0 / 0.8509 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003742/0.2049, allocations: 71.94 kB / 0.851 GB, free: 5.98 MB / 0.5919 GB 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.0001491/0.2051, allocations: 115.2 kB / 0.8511 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.2058, allocations: 398.3 kB / 0.8515 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2058, allocations: 4 kB / 0.8515 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.206, allocations: 113.8 kB / 0.8516 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.2064, allocations: 44.41 kB / 0.8516 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2076, allocations: 0.6489 MB / 0.8523 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.208, allocations: 0.7751 MB / 0.853 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.2081, allocations: 23.42 kB / 0.8531 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.2081, allocations: 0 / 0.8531 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of Templates: time 0.006074/0.2142, allocations: 3.623 MB / 0.8566 GB, free: 172 kB / 0.5919 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.105200540041551] Failed to read output from testmodel.py, exit status != 0: 0.22147613298147917 0.236136918 0.044481231 Calling exit ...