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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 113.3 kB / 17.04 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195 kB / 17.98 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6992/0.6992, allocations: 115.1 MB / 407 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.83 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3851, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.0041/0.3893, allocations: 3.062 MB / 0.5606 GB, free: 34.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3917, allocations: 1.725 MB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.3918, allocations: 4.25 kB / 0.5623 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009187/0.3927, allocations: 333.5 kB / 0.5626 GB, free: 33.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.3932, allocations: 206.3 kB / 0.5628 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.3937, allocations: 188.5 kB / 0.563 GB, free: 33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.394, allocations: 317.8 kB / 0.5633 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.3944, allocations: 237.9 kB / 0.5635 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.3946, allocations: 138.3 kB / 0.5636 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.3949, allocations: 159.5 kB / 0.5638 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.3949, allocations: 21.41 kB / 0.5638 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.3953, allocations: 241.7 kB / 0.564 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.3954, allocations: 102.7 kB / 0.5641 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.3955, allocations: 125.5 kB / 0.5642 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004862/0.396, allocations: 428.3 kB / 0.5646 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3961, allocations: 1.156 kB / 0.5646 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3961, allocations: 0 / 0.5646 GB, free: 32.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.3961, allocations: 0 / 0.5646 GB, free: 32.35 MB / 446.1 MB 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.0008111/0.3969, allocations: 0.5456 MB / 0.5652 GB, free: 31.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3969, allocations: 10.03 kB / 0.5652 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/0.3976, allocations: 92.69 kB / 0.5653 GB, free: 31.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.398, allocations: 258.9 kB / 0.5655 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.398, allocations: 17.73 kB / 0.5655 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.272e-05/0.3981, allocations: 37.41 kB / 0.5656 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/0.3986, allocations: 375.8 kB / 0.5659 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3987, allocations: 0.6562 kB / 0.5659 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.3987, allocations: 6.594 kB / 0.5659 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.142e-05/0.3988, allocations: 34.17 kB / 0.566 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.3993, allocations: 308.2 kB / 0.5663 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.4008, allocations: 1.52 MB / 0.5677 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.4012, allocations: 239.7 kB / 0.568 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.4013, allocations: 117.3 kB / 0.5681 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.4015, allocations: 86.59 kB / 0.5682 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4015, allocations: 32.41 kB / 0.5682 GB, free: 29.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.4015, allocations: 1.125 kB / 0.5682 GB, free: 29.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001127/0.4026, allocations: 0.7943 MB / 0.569 GB, free: 29.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.4027, allocations: 54.08 kB / 0.569 GB, free: 29.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.4028, allocations: 190.7 kB / 0.5692 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.4029, allocations: 31.83 kB / 0.5692 GB, free: 29.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.4029, allocations: 161.5 kB / 0.5694 GB, free: 28.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.403, allocations: 68.5 kB / 0.5695 GB, free: 28.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.4031, allocations: 52.77 kB / 0.5695 GB, free: 28.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.4031, allocations: 332.7 kB / 0.5698 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4033, allocations: 114.9 kB / 0.5699 GB, free: 28.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.4035, allocations: 179 kB / 0.5701 GB, free: 28.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.4039, allocations: 299.6 kB / 0.5704 GB, free: 28.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4039, allocations: 0.5 kB / 0.5704 GB, free: 28.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000714/0.4046, allocations: 419.3 kB / 0.5708 GB, free: 28.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4046, allocations: 6.906 kB / 0.5708 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4046, allocations: 2.969 kB / 0.5708 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003964/0.405, allocations: 99.09 kB / 0.5709 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.4053, allocations: 51.12 kB / 0.571 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.4069, allocations: 1.881 MB / 0.5728 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4071, allocations: 20.34 kB / 0.5728 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.4071, allocations: 9.625 kB / 0.5728 GB, free: 26.41 MB / 446.1 MB 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.0001232/0.4073, allocations: 157.2 kB / 0.573 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4073, allocations: 17.06 kB / 0.573 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.4078, allocations: 300.6 kB / 0.5733 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4078, allocations: 2.156 kB / 0.5733 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.4078, allocations: 0 / 0.5733 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4078, allocations: 6.875 kB / 0.5733 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008288/0.4086, allocations: 0.7002 MB / 0.574 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4086, allocations: 2.016 kB / 0.574 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002856/0.4089, allocations: 59.58 kB / 0.574 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.409, allocations: 5.719 kB / 0.574 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.409, allocations: 14.69 kB / 0.574 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.409, allocations: 2.672 kB / 0.574 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.409, allocations: 1.219 kB / 0.574 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.4095, allocations: 0.5104 MB / 0.5745 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.4096, allocations: 118 kB / 0.5747 GB, free: 25.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.4097, allocations: 8.062 kB / 0.5747 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.4099, allocations: 12.86 kB / 0.5747 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.4099, allocations: 17.56 kB / 0.5747 GB, free: 25.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.4099, allocations: 6.594 kB / 0.5747 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.41, allocations: 146.3 kB / 0.5748 GB, free: 25.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.41, allocations: 0 / 0.5748 GB, free: 25.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003731/0.4104, allocations: 68.8 kB / 0.5749 GB, free: 25.14 MB / 446.1 MB 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.000123/0.4106, allocations: 108.9 kB / 0.575 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006233/0.4112, allocations: 425.7 kB / 0.5754 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4112, allocations: 0 / 0.5754 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.4114, allocations: 127.1 kB / 0.5755 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4117, allocations: 37.8 kB / 0.5756 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.4128, allocations: 0.6177 MB / 0.5762 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.413, allocations: 0.7765 MB / 0.5769 GB, free: 23.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.4132, allocations: 62.42 kB / 0.577 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.137e-05/0.4132, allocations: 23.09 kB / 0.577 GB, free: 23.69 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4132, allocations: 0 / 0.577 GB, free: 23.69 MB / 446.1 MB Notification: Performance of Templates: time 0.006632/0.4199, allocations: 2.785 MB / 0.5797 GB, free: 23.5 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)