Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001506/0.001506, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00177/0.00177, allocations: 209 kB / 22.99 MB, free: 4.609 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9957/0.9957, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: IBPSA 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.003361/0.003361, allocations: 67.97 kB / 0.6415 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3082, allocations: 89.18 MB / 0.7286 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005753/0.3139, allocations: 3.073 MB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003642/0.3176, allocations: 1.687 MB / 0.7333 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3177, allocations: 4 kB / 0.7333 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.3189, allocations: 334.7 kB / 0.7336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.3195, allocations: 215.1 kB / 0.7338 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.3201, allocations: 182.2 kB / 0.734 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.3205, allocations: 323 kB / 0.7343 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.3209, allocations: 169 kB / 0.7345 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.3211, allocations: 143.6 kB / 0.7346 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.3215, allocations: 155.4 kB / 0.7347 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.203e-05/0.3215, allocations: 24 kB / 0.7348 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004213/0.3219, allocations: 223.5 kB / 0.735 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3221, allocations: 107.7 kB / 0.7351 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3222, allocations: 107.5 kB / 0.7352 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006728/0.3229, allocations: 430.5 kB / 0.7356 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3229, allocations: 0 / 0.7356 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3229, allocations: 0 / 0.7356 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.3229, allocations: 0 / 0.7356 GB, free: 9.395 MB / 0.5606 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.001228/0.3241, allocations: 493.3 kB / 0.7361 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3241, allocations: 8.031 kB / 0.7361 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007872/0.3249, allocations: 100.6 kB / 0.7362 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.3253, allocations: 198.2 kB / 0.7364 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3253, allocations: 12.81 kB / 0.7364 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3254, allocations: 28.52 kB / 0.7364 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.3261, allocations: 428.1 kB / 0.7368 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.3261, allocations: 0 / 0.7368 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.3261, allocations: 19.97 kB / 0.7368 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-05/0.3262, allocations: 28.42 kB / 0.7368 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006257/0.3269, allocations: 305.5 kB / 0.7371 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.3286, allocations: 1.031 MB / 0.7381 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.3292, allocations: 210.4 kB / 0.7383 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.3294, allocations: 109 kB / 0.7384 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3295, allocations: 19.89 kB / 0.7385 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3295, allocations: 34.56 kB / 0.7385 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3295, allocations: 7.875 kB / 0.7385 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001377/0.3309, allocations: 0.7188 MB / 0.7392 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.331, allocations: 55.39 kB / 0.7393 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.3312, allocations: 187 kB / 0.7394 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.3312, allocations: 33.69 kB / 0.7395 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.3314, allocations: 156.5 kB / 0.7396 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.849e-05/0.3315, allocations: 79.36 kB / 0.7397 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3316, allocations: 61.69 kB / 0.7398 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3318, allocations: 330.8 kB / 0.7401 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.3319, allocations: 107.9 kB / 0.7402 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3322, allocations: 169.9 kB / 0.7403 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.3327, allocations: 297.9 kB / 0.7406 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3327, allocations: 0 / 0.7406 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000807/0.3335, allocations: 414 kB / 0.741 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.3335, allocations: 10.12 kB / 0.741 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.3335, allocations: 4 kB / 0.741 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004467/0.334, allocations: 100.9 kB / 0.7411 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.3342, allocations: 55.91 kB / 0.7412 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.3367, allocations: 1.745 MB / 0.7429 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.3369, allocations: 15.98 kB / 0.7429 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.3369, allocations: 4 kB / 0.7429 GB, free: 1.512 MB / 0.5606 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.0002054/0.3371, allocations: 161.7 kB / 0.7431 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/0.3372, allocations: 19.89 kB / 0.7431 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.3377, allocations: 297.5 kB / 0.7434 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3377, allocations: 8.062 kB / 0.7434 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-06/0.3377, allocations: 0 / 0.7434 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3377, allocations: 0 / 0.7434 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.3388, allocations: 0.6051 MB / 0.744 GB, free: 388 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3388, allocations: 3.938 kB / 0.744 GB, free: 384 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.3391, allocations: 55.95 kB / 0.744 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3391, allocations: 0 / 0.744 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.3391, allocations: 8 kB / 0.744 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3391, allocations: 0 / 0.744 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3391, allocations: 3.938 kB / 0.744 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.3399, allocations: 0.5212 MB / 0.7445 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.34, allocations: 43.83 kB / 0.7446 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3401, allocations: 4 kB / 0.7446 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.3402, allocations: 20.03 kB / 0.7446 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3403, allocations: 15.92 kB / 0.7446 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3403, allocations: 8 kB / 0.7446 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001564/0.3405, allocations: 142 kB / 0.7448 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 0.7448 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003586/0.3408, allocations: 63.94 kB / 0.7448 GB, free: 15.48 MB / 0.5762 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.0001785/0.341, allocations: 111.2 kB / 0.7449 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007541/0.3418, allocations: 402.3 kB / 0.7453 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3418, allocations: 0 / 0.7453 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.342, allocations: 107.9 kB / 0.7454 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3423, allocations: 39.59 kB / 0.7455 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.3437, allocations: 0.6478 MB / 0.7461 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3439, allocations: 165.2 kB / 0.7462 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001629/0.344, allocations: 53.91 kB / 0.7463 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.3441, allocations: 19.44 kB / 0.7463 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.3441, allocations: 0 / 0.7463 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of Templates: time 0.007459/0.3516, allocations: 2.987 MB / 0.7492 GB, free: 10.93 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.618659844622016] Failed to read output from testmodel.py, exit status != 0: 0.3646715600043535 0.704103397 0.37816138600000004 Calling exit ...