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.001769/0.001769, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002235/0.002235, allocations: 224.4 kB / 23 MB, free: 4.914 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002685/0.002685, allocations: 280.1 kB / 313.5 MB, free: 2.668 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.319/1.319, allocations: 180.6 MB / 0.5377 GB, free: 14.45 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 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.003011/0.003011, allocations: 101.8 kB / 0.7407 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2091, allocations: 95.4 MB / 0.8339 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005862/0.2149, allocations: 3.089 MB / 0.8369 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003588/0.2185, allocations: 1.683 MB / 0.8385 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.2188, allocations: 11.88 kB / 0.8385 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2201, allocations: 326.8 kB / 0.8389 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.2209, allocations: 223 kB / 0.8391 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.2217, allocations: 179.6 kB / 0.8392 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006235/0.2223, allocations: 315 kB / 0.8395 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.2228, allocations: 180.9 kB / 0.8397 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.2231, allocations: 143.5 kB / 0.8398 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004163/0.2235, allocations: 163.4 kB / 0.84 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.2236, allocations: 24 kB / 0.84 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005285/0.2241, allocations: 211.6 kB / 0.8402 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001623/0.2243, allocations: 111.7 kB / 0.8403 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.2244, allocations: 103.5 kB / 0.8404 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.2251, allocations: 422.5 kB / 0.8408 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2251, allocations: 4 kB / 0.8408 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2251, allocations: 0 / 0.8408 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2251, allocations: 0 / 0.8408 GB, free: 0.6953 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.001148/0.2262, allocations: 485.3 kB / 0.8413 GB, free: 192 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2263, allocations: 12.75 kB / 0.8413 GB, free: 180 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007574/0.227, allocations: 96.64 kB / 0.8414 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.2275, allocations: 207 kB / 0.8416 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.2275, allocations: 12.81 kB / 0.8416 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.2277, allocations: 28.55 kB / 0.8416 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.2283, allocations: 428.1 kB / 0.8421 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2283, allocations: 0 / 0.8421 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.2284, allocations: 8 kB / 0.8421 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.695e-05/0.2285, allocations: 28.42 kB / 0.8421 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.229, allocations: 305.5 kB / 0.8424 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2307, allocations: 1.039 MB / 0.8434 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.2311, allocations: 210.4 kB / 0.8436 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.2313, allocations: 108.7 kB / 0.8437 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.2314, allocations: 19.86 kB / 0.8437 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.2314, allocations: 30.56 kB / 0.8437 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.2314, allocations: 4 kB / 0.8437 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001314/0.2328, allocations: 0.7236 MB / 0.8445 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.2328, allocations: 55.41 kB / 0.8445 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.233, allocations: 193.2 kB / 0.8447 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.233, allocations: 29.7 kB / 0.8447 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.2332, allocations: 168.5 kB / 0.8449 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.2332, allocations: 67.42 kB / 0.8449 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.2333, allocations: 61.64 kB / 0.845 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2335, allocations: 322.8 kB / 0.8453 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.2337, allocations: 115.9 kB / 0.8454 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.2339, allocations: 161.9 kB / 0.8456 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004196/0.2343, allocations: 313.2 kB / 0.8459 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2343, allocations: 4 kB / 0.8459 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007783/0.2351, allocations: 410.2 kB / 0.8463 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2351, allocations: 11.94 kB / 0.8463 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2351, allocations: 0 / 0.8463 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.2355, allocations: 96.77 kB / 0.8464 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/0.2358, allocations: 51.89 kB / 0.8464 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.2378, allocations: 1.739 MB / 0.8481 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.238, allocations: 19.97 kB / 0.8481 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.238, allocations: 12 kB / 0.8482 GB, free: 8.816 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.0001812/0.2382, allocations: 170.3 kB / 0.8483 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.2383, allocations: 15.91 kB / 0.8483 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.2388, allocations: 291.3 kB / 0.8486 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2388, allocations: 0 / 0.8486 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.2388, allocations: 0 / 0.8486 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2388, allocations: 4 kB / 0.8486 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.2397, allocations: 0.6187 MB / 0.8492 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2397, allocations: 4.062 kB / 0.8492 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.24, allocations: 55.95 kB / 0.8493 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.24, allocations: 3.938 kB / 0.8493 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.24, allocations: 8 kB / 0.8493 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.24, allocations: 3.984 kB / 0.8493 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.24, allocations: 11.92 kB / 0.8493 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.2407, allocations: 0.5074 MB / 0.8498 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2408, allocations: 39.91 kB / 0.8498 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2408, allocations: 4.062 kB / 0.8498 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.241, allocations: 19.98 kB / 0.8499 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.241, allocations: 19.92 kB / 0.8499 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2411, allocations: 4 kB / 0.8499 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001376/0.2412, allocations: 143.5 kB / 0.85 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2412, allocations: 0 / 0.85 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003685/0.2416, allocations: 68 kB / 0.8501 GB, free: 6.766 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.0001576/0.2417, allocations: 107.2 kB / 0.8502 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.2425, allocations: 417.8 kB / 0.8506 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2425, allocations: 0 / 0.8506 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.2427, allocations: 103.9 kB / 0.8507 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.243, allocations: 38.64 kB / 0.8507 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2443, allocations: 0.6722 MB / 0.8514 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.2445, allocations: 157.2 kB / 0.8515 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.934e-05/0.2446, allocations: 27.42 kB / 0.8515 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.2446, allocations: 0 / 0.8515 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of Templates: time 0.006409/0.251, allocations: 3.655 MB / 0.8551 GB, free: 1.535 MB / 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.27292316313833] Failed to read output from testmodel.py, exit status != 0: 0.25892089027911425 0.277871115 0.047550799000000005 Calling exit ...