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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] 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.002558/0.002558, allocations: 282.9 kB / 303.6 MB, free: 3.762 MB / 238.1 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 1.094/1.094, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002874/0.002874, allocations: 95.84 kB / 0.7259 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7039, allocations: 94.16 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00517/0.7091, allocations: 3.114 MB / 0.8209 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003198/0.7123, allocations: 1.743 MB / 0.8226 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000254/0.7126, allocations: 12.94 kB / 0.8226 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.7137, allocations: 339.8 kB / 0.8229 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006922/0.7144, allocations: 205.3 kB / 0.8231 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.7151, allocations: 186.4 kB / 0.8233 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004283/0.7155, allocations: 319.1 kB / 0.8236 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.7159, allocations: 181.8 kB / 0.8238 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.7161, allocations: 143.4 kB / 0.8239 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.7164, allocations: 169.6 kB / 0.8241 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.7165, allocations: 21.5 kB / 0.8241 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.7169, allocations: 242.4 kB / 0.8243 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.7171, allocations: 114.6 kB / 0.8244 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.7172, allocations: 125.9 kB / 0.8246 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.7178, allocations: 422.2 kB / 0.825 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7178, allocations: 0.6094 kB / 0.825 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7178, allocations: 0 / 0.825 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.7178, allocations: 0 / 0.825 GB, free: 3.121 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.0009615/0.7188, allocations: 0.552 MB / 0.8255 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7188, allocations: 12.22 kB / 0.8255 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.7196, allocations: 93.67 kB / 0.8256 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.7199, allocations: 259.5 kB / 0.8259 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.72, allocations: 17.72 kB / 0.8259 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.7201, allocations: 33.75 kB / 0.8259 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005739/0.7206, allocations: 380 kB / 0.8263 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.7207, allocations: 4.594 kB / 0.8263 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.7207, allocations: 10.5 kB / 0.8263 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.205e-05/0.7208, allocations: 30.06 kB / 0.8263 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/0.7212, allocations: 306.4 kB / 0.8266 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.7229, allocations: 1.516 MB / 0.8281 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.7234, allocations: 221.3 kB / 0.8283 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.7235, allocations: 101.7 kB / 0.8284 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001306/0.7236, allocations: 93.47 kB / 0.8285 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7237, allocations: 37.47 kB / 0.8285 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/0.7237, allocations: 0 / 0.8285 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001232/0.7249, allocations: 0.7893 MB / 0.8293 GB, free: 48 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.725, allocations: 54.84 kB / 0.8293 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.7252, allocations: 203.2 kB / 0.8295 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.7252, allocations: 29.7 kB / 0.8296 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.7254, allocations: 162.6 kB / 0.8297 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.7255, allocations: 65.72 kB / 0.8298 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.7256, allocations: 63.16 kB / 0.8298 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.7258, allocations: 326.9 kB / 0.8302 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.7259, allocations: 118.2 kB / 0.8303 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.7262, allocations: 172.2 kB / 0.8304 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.7266, allocations: 299.2 kB / 0.8307 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.7266, allocations: 0 / 0.8307 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008117/0.7274, allocations: 415.3 kB / 0.8311 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7275, allocations: 5.969 kB / 0.8311 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.7275, allocations: 3.328 kB / 0.8311 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004474/0.7279, allocations: 100.1 kB / 0.8312 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002562/0.7282, allocations: 52.31 kB / 0.8313 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.7306, allocations: 1.889 MB / 0.8331 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.7308, allocations: 17.06 kB / 0.8331 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.7308, allocations: 8.438 kB / 0.8331 GB, free: 13.14 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.0002276/0.731, allocations: 156.4 kB / 0.8333 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.855e-05/0.7311, allocations: 20.67 kB / 0.8333 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005319/0.7316, allocations: 297.2 kB / 0.8336 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.7316, allocations: 0 / 0.8336 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.7316, allocations: 3.406 kB / 0.8336 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.7316, allocations: 4.734 kB / 0.8336 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.7327, allocations: 0.7052 MB / 0.8343 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7327, allocations: 1.828 kB / 0.8343 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.7331, allocations: 61.59 kB / 0.8343 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.7331, allocations: 1.5 kB / 0.8343 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.7331, allocations: 16.23 kB / 0.8344 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.7331, allocations: 4 kB / 0.8344 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.7331, allocations: 3.938 kB / 0.8344 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.7338, allocations: 0.5076 MB / 0.8349 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.734, allocations: 122.9 kB / 0.835 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.734, allocations: 7.75 kB / 0.835 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.7342, allocations: 12.62 kB / 0.835 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.7342, allocations: 14.2 kB / 0.835 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.7342, allocations: 6.266 kB / 0.835 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001679/0.7344, allocations: 148.5 kB / 0.8352 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7344, allocations: 0 / 0.8352 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000384/0.7348, allocations: 70.91 kB / 0.8352 GB, free: 11.84 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.0001841/0.735, allocations: 108.6 kB / 0.8353 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008045/0.7358, allocations: 406.9 kB / 0.8357 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7358, allocations: 0 / 0.8357 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.7359, allocations: 108.9 kB / 0.8358 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.7363, allocations: 48.14 kB / 0.8359 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.7377, allocations: 0.6745 MB / 0.8365 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.7382, allocations: 0.7738 MB / 0.8373 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.7383, allocations: 23.97 kB / 0.8373 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.7383, allocations: 0 / 0.8373 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.008605/0.7469, allocations: 3.623 MB / 0.8408 GB, free: 10.04 MB / 0.5919 GB " [Timeout remaining time 659] 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.584419297985733] Failed to read output from testmodel.py, exit status != 0: 0.7556996629573405 0.769703463 0.048851559 Calling exit ...