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.001105/0.001105, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007939/0.0007939, allocations: 166.3 kB / 23.97 MB, free: 0.5977 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.8553/0.8553, allocations: 177.1 MB / 204.3 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5418/0.5418, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.5554 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.694e-05, allocations: 4.906 kB / 0.5554 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.00296/0.002977, allocations: 3.062 MB / 0.5584 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004568, allocations: 1.663 MB / 0.56 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.00465, allocations: 7.938 kB / 0.56 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005555/0.005206, allocations: 342.6 kB / 0.5604 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.005477, allocations: 218.8 kB / 0.5606 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.005725, allocations: 183.4 kB / 0.5607 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.00597, allocations: 326.9 kB / 0.5611 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.00621, allocations: 168.9 kB / 0.5612 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.0064, allocations: 199.5 kB / 0.5614 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.006599, allocations: 151.6 kB / 0.5615 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.006624, allocations: 20 kB / 0.5616 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.006823, allocations: 227.4 kB / 0.5618 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.0069, allocations: 99.72 kB / 0.5619 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.006965, allocations: 87.81 kB / 0.562 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.007313, allocations: 446.6 kB / 0.5624 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.007314, allocations: 4 kB / 0.5624 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.01e-07/0.007315, allocations: 0 / 0.5624 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.00732, allocations: 0 / 0.5624 GB, free: 11.12 MB / 0.5261 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.0005919/0.007912, allocations: 481.4 kB / 0.5629 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.007942, allocations: 8.625 kB / 0.5629 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003772/0.008319, allocations: 96.67 kB / 0.563 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.008544, allocations: 205.3 kB / 0.5631 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.008558, allocations: 12.88 kB / 0.5632 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.008629, allocations: 28.55 kB / 0.5632 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.009007, allocations: 428.9 kB / 0.5636 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.00902, allocations: 4.125 kB / 0.5636 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.009041, allocations: 12.12 kB / 0.5636 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.009096, allocations: 28.48 kB / 0.5636 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.009401, allocations: 305.8 kB / 0.5639 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009194/0.01032, allocations: 1.039 MB / 0.5649 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.01058, allocations: 212.1 kB / 0.5651 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.01068, allocations: 108.8 kB / 0.5653 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.01075, allocations: 15.92 kB / 0.5653 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.01077, allocations: 30.88 kB / 0.5653 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.934e-06/0.01077, allocations: 3.984 kB / 0.5653 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.0008146/0.01158, allocations: 0.7235 MB / 0.566 GB, free: 7.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.01161, allocations: 55.41 kB / 0.5661 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.01172, allocations: 187.2 kB / 0.5662 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.01174, allocations: 29.7 kB / 0.5663 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.019e-05/0.01181, allocations: 164.5 kB / 0.5664 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.01184, allocations: 67.42 kB / 0.5665 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.0119, allocations: 57.66 kB / 0.5665 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.437e-05/0.01198, allocations: 330.8 kB / 0.5669 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.01209, allocations: 111.9 kB / 0.567 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.01222, allocations: 169.9 kB / 0.5671 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.01248, allocations: 297.8 kB / 0.5674 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.01248, allocations: 0 / 0.5674 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004575/0.01294, allocations: 417.4 kB / 0.5678 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.01295, allocations: 11.97 kB / 0.5678 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01295, allocations: 4 kB / 0.5678 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002261/0.01318, allocations: 96.75 kB / 0.5679 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.01331, allocations: 59.84 kB / 0.568 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.01444, allocations: 1.741 MB / 0.5697 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.01454, allocations: 11.98 kB / 0.5697 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.01455, allocations: 8 kB / 0.5697 GB, free: 3.25 MB / 0.5261 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 9.985e-05/0.01465, allocations: 165.8 kB / 0.5699 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.01468, allocations: 19.84 kB / 0.5699 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.01497, allocations: 299.2 kB / 0.5702 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01498, allocations: 4 kB / 0.5702 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.01498, allocations: 0 / 0.5702 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01498, allocations: 0 / 0.5702 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.0155, allocations: 0.606 MB / 0.5708 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.0155, allocations: 8.062 kB / 0.5708 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.01565, allocations: 55.89 kB / 0.5708 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.01565, allocations: 4 kB / 0.5708 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01566, allocations: 8 kB / 0.5708 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01566, allocations: 0 / 0.5708 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01567, allocations: 0 / 0.5708 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.01604, allocations: 0.5108 MB / 0.5713 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.01609, allocations: 35.92 kB / 0.5714 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.01611, allocations: 8 kB / 0.5714 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.0162, allocations: 15.97 kB / 0.5714 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.01622, allocations: 19.98 kB / 0.5714 GB, free: 1.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.657e-06/0.01623, allocations: 7.938 kB / 0.5714 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.938e-05/0.01631, allocations: 148.7 kB / 0.5715 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.01631, allocations: 0 / 0.5715 GB, free: 1.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002115/0.01652, allocations: 64 kB / 0.5716 GB, free: 1.207 MB / 0.5261 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.0001004/0.01662, allocations: 103.2 kB / 0.5717 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.01706, allocations: 418.4 kB / 0.5721 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01706, allocations: 0 / 0.5721 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.01716, allocations: 110.1 kB / 0.5722 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.0174, allocations: 40.7 kB / 0.5723 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006819/0.01808, allocations: 0.6151 MB / 0.5729 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.01818, allocations: 161.2 kB / 0.573 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.01824, allocations: 24.48 kB / 0.573 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of SimCode: time 4.11e-07/0.01824, allocations: 0 / 0.573 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.003467/0.02171, allocations: 3.685 MB / 0.5766 GB, free: 12 MB / 0.5417 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: 5.172015096992254] Failed to read output from testmodel.py, exit status != 0: 0.02614598535001278 0.034032230000000004 0.025147367 Calling exit ...