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.0007568/0.0007568, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007464/0.0007464, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.871/0.871, allocations: 177.1 MB / 203.5 MB, free: 5.406 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.001431/0.001431, allocations: 230.6 kB / 260.2 MB, free: 12.89 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.6844/0.6844, allocations: 138.4 MB / 455.1 MB, free: 29.82 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 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.694e-06/1.694e-06, allocations: 0 / 0.6475 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.456e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.2228/0.2229, allocations: 3.047 MB / 0.6505 GB, free: 55.87 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001691/0.2245, allocations: 1.674 MB / 0.6521 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.2246, allocations: 10.31 kB / 0.6521 GB, free: 55.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006354/0.2253, allocations: 330.4 kB / 0.6525 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.2255, allocations: 216 kB / 0.6527 GB, free: 55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.2258, allocations: 183.6 kB / 0.6528 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.2261, allocations: 322.5 kB / 0.6531 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.2263, allocations: 173.9 kB / 0.6533 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2265, allocations: 193.1 kB / 0.6535 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.2267, allocations: 155.4 kB / 0.6536 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.2268, allocations: 20.69 kB / 0.6537 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.227, allocations: 218 kB / 0.6539 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.2271, allocations: 115.1 kB / 0.654 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.827e-05/0.2271, allocations: 91.7 kB / 0.6541 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.2275, allocations: 445.2 kB / 0.6545 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2275, allocations: 0 / 0.6545 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2275, allocations: 2.469 kB / 0.6545 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2275, allocations: 0 / 0.6545 GB, free: 54.27 MB / 0.5573 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.0006423/0.2282, allocations: 481.4 kB / 0.6549 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2282, allocations: 10.09 kB / 0.655 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.2287, allocations: 96.2 kB / 0.655 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2289, allocations: 203.1 kB / 0.6552 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2289, allocations: 18.38 kB / 0.6553 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.229, allocations: 29.16 kB / 0.6553 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.2293, allocations: 427.5 kB / 0.6557 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2294, allocations: 192 / 0.6557 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.2294, allocations: 12.16 kB / 0.6557 GB, free: 53.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.2294, allocations: 29.36 kB / 0.6557 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.2297, allocations: 307.9 kB / 0.656 GB, free: 53.34 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009004/0.2306, allocations: 1.035 MB / 0.657 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.2309, allocations: 206.8 kB / 0.6572 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.231, allocations: 104.4 kB / 0.6573 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.2311, allocations: 19.7 kB / 0.6574 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.2311, allocations: 35.22 kB / 0.6574 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=18): time 1.403e-06/0.2311, allocations: 5.781 kB / 0.6574 GB, free: 52.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19): time 0.0008355/0.232, allocations: 0.7218 MB / 0.6581 GB, free: 52.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.232, allocations: 57.78 kB / 0.6582 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.2321, allocations: 189.5 kB / 0.6583 GB, free: 51.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.2321, allocations: 29.7 kB / 0.6584 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.2322, allocations: 177.5 kB / 0.6585 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.2322, allocations: 65.48 kB / 0.6586 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.2322, allocations: 58.59 kB / 0.6587 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.2323, allocations: 326.9 kB / 0.659 GB, free: 51.26 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2324, allocations: 111.1 kB / 0.6591 GB, free: 51.22 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.2325, allocations: 167.7 kB / 0.6592 GB, free: 51.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.2328, allocations: 298.8 kB / 0.6595 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2328, allocations: 0.5 kB / 0.6595 GB, free: 50.96 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004703/0.2333, allocations: 416.7 kB / 0.6599 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2333, allocations: 7.062 kB / 0.6599 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2333, allocations: 0.75 kB / 0.6599 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.2335, allocations: 104.5 kB / 0.66 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2337, allocations: 60.03 kB / 0.6601 GB, free: 50.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.2347, allocations: 1.736 MB / 0.6618 GB, free: 49.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.2348, allocations: 18.05 kB / 0.6618 GB, free: 49.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.2348, allocations: 7.75 kB / 0.6618 GB, free: 49.35 MB / 0.5573 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 8.969e-05/0.2349, allocations: 161.7 kB / 0.662 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.2349, allocations: 18.81 kB / 0.662 GB, free: 49.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/0.2352, allocations: 294.2 kB / 0.6622 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2352, allocations: 3.047 kB / 0.6623 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.2352, allocations: 0 / 0.6623 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2352, allocations: 1.172 kB / 0.6623 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.2358, allocations: 0.6134 MB / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2358, allocations: 2.188 kB / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.2359, allocations: 61.28 kB / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2359, allocations: 1.625 kB / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2359, allocations: 7.141 kB / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2359, allocations: 1.969 kB / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2359, allocations: 0 / 0.6629 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/0.2363, allocations: 0.5168 MB / 0.6634 GB, free: 48.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.2364, allocations: 47.78 kB / 0.6635 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2364, allocations: 5.656 kB / 0.6635 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.2365, allocations: 10.48 kB / 0.6635 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.2365, allocations: 16.36 kB / 0.6635 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.2365, allocations: 7.562 kB / 0.6635 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.2366, allocations: 147.2 kB / 0.6637 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.2366, allocations: 3.281 kB / 0.6637 GB, free: 48.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002216/0.2368, allocations: 64.47 kB / 0.6637 GB, free: 48.25 MB / 0.5573 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.0001091/0.2369, allocations: 107.2 kB / 0.6638 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.2373, allocations: 418.1 kB / 0.6642 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2373, allocations: 0 / 0.6642 GB, free: 47.94 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.2374, allocations: 117.1 kB / 0.6643 GB, free: 47.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.2377, allocations: 31.34 kB / 0.6644 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.2384, allocations: 0.6096 MB / 0.665 GB, free: 47.53 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2385, allocations: 168.5 kB / 0.6651 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2385, allocations: 22.92 kB / 0.6651 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of SimCode: time 3.9e-07/0.2385, allocations: 0 / 0.6651 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.003839/0.2424, allocations: 3.691 MB / 0.6687 GB, free: 47.2 MB / 0.5573 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: 5.575695550069213] Failed to read output from testmodel.py, exit status != 0: 0.247814885340631 0.25528057000000004 0.026105067000000003 Calling exit ...