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.001524/0.001524, allocations: 109.4 kB / 17.02 MB, free: 6.094 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.001808/0.001809, allocations: 192.1 kB / 17.97 MB, free: 5.191 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.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3424, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004186/0.3466, allocations: 3.065 MB / 0.5606 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00235/0.349, allocations: 1.716 MB / 0.5622 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.3492, allocations: 4.656 kB / 0.5622 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.3501, allocations: 340.3 kB / 0.5626 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.3506, allocations: 209.3 kB / 0.5628 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.3511, allocations: 188.9 kB / 0.5629 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.3515, allocations: 313.5 kB / 0.5632 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003813/0.3519, allocations: 243.6 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3521, allocations: 138.1 kB / 0.5636 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.3524, allocations: 159.1 kB / 0.5638 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3524, allocations: 20.72 kB / 0.5638 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.3529, allocations: 242.5 kB / 0.564 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.353, allocations: 100.9 kB / 0.5641 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3531, allocations: 125.7 kB / 0.5642 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.3537, allocations: 422.7 kB / 0.5646 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3537, allocations: 1.094 kB / 0.5646 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3537, allocations: 0.625 kB / 0.5646 GB, free: 32.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3537, allocations: 1.469 kB / 0.5646 GB, free: 32.46 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.0009071/0.3546, allocations: 0.5396 MB / 0.5652 GB, free: 32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3547, allocations: 10.14 kB / 0.5652 GB, free: 32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.3555, allocations: 97.89 kB / 0.5653 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.3559, allocations: 262.5 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.356, allocations: 18.45 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.3561, allocations: 29.77 kB / 0.5656 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006934/0.3568, allocations: 379.4 kB / 0.5659 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3568, allocations: 1.094 kB / 0.5659 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.3569, allocations: 6.094 kB / 0.5659 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.357, allocations: 31.64 kB / 0.566 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/0.3576, allocations: 304.2 kB / 0.5662 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.3594, allocations: 1.521 MB / 0.5677 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000444/0.3599, allocations: 236 kB / 0.568 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.3601, allocations: 120.4 kB / 0.5681 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.3602, allocations: 86.84 kB / 0.5682 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3603, allocations: 33.77 kB / 0.5682 GB, free: 29.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 2.254e-06/0.3603, allocations: 0.5 kB / 0.5682 GB, free: 29.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001323/0.3616, allocations: 0.7978 MB / 0.569 GB, free: 29.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.3616, allocations: 57.62 kB / 0.569 GB, free: 29.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.3618, allocations: 191 kB / 0.5692 GB, free: 29.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3619, allocations: 32.58 kB / 0.5692 GB, free: 29.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.3619, allocations: 161.2 kB / 0.5694 GB, free: 29.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.362, allocations: 70.75 kB / 0.5695 GB, free: 28.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.3621, allocations: 53.28 kB / 0.5695 GB, free: 28.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.3621, allocations: 333.3 kB / 0.5698 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.3623, allocations: 119.6 kB / 0.5699 GB, free: 28.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3625, allocations: 170.2 kB / 0.5701 GB, free: 28.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.3629, allocations: 303.8 kB / 0.5704 GB, free: 28.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3629, allocations: 1.125 kB / 0.5704 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007832/0.3637, allocations: 419.4 kB / 0.5708 GB, free: 28.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3637, allocations: 5.938 kB / 0.5708 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3638, allocations: 2.219 kB / 0.5708 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.3642, allocations: 104.6 kB / 0.5709 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.3645, allocations: 51.03 kB / 0.571 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.3665, allocations: 1.871 MB / 0.5728 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.3668, allocations: 20.02 kB / 0.5728 GB, free: 26.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.3668, allocations: 7.938 kB / 0.5728 GB, free: 26.53 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.0001734/0.367, allocations: 160.3 kB / 0.573 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.3671, allocations: 17.27 kB / 0.573 GB, free: 26.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005229/0.3676, allocations: 294.6 kB / 0.5733 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.3676, allocations: 2.406 kB / 0.5733 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3676, allocations: 4 kB / 0.5733 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3676, allocations: 4.922 kB / 0.5733 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009391/0.3686, allocations: 0.7031 MB / 0.574 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3686, allocations: 1.344 kB / 0.574 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.3689, allocations: 61 kB / 0.574 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.3689, allocations: 2.969 kB / 0.574 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.3689, allocations: 7.344 kB / 0.574 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3689, allocations: 2.562 kB / 0.574 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.369, allocations: 1.375 kB / 0.574 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.3696, allocations: 0.5156 MB / 0.5745 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3697, allocations: 118.9 kB / 0.5746 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3697, allocations: 12.38 kB / 0.5747 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3699, allocations: 11.8 kB / 0.5747 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.37, allocations: 18.84 kB / 0.5747 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.37, allocations: 9.562 kB / 0.5747 GB, free: 25.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.3701, allocations: 146.6 kB / 0.5748 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3701, allocations: 1.625 kB / 0.5748 GB, free: 25.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.3705, allocations: 65.94 kB / 0.5749 GB, free: 25.25 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.0001541/0.3707, allocations: 114.3 kB / 0.575 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.3715, allocations: 421.6 kB / 0.5754 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3715, allocations: 5.5 kB / 0.5754 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.3716, allocations: 122.3 kB / 0.5755 GB, free: 24.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.3721, allocations: 38.86 kB / 0.5756 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.3732, allocations: 0.616 MB / 0.5762 GB, free: 24.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3734, allocations: 0.777 MB / 0.5769 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.3736, allocations: 63.64 kB / 0.577 GB, free: 23.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.561e-05/0.3737, allocations: 19.75 kB / 0.577 GB, free: 23.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3737, allocations: 5.219 kB / 0.577 GB, free: 23.8 MB / 446.1 MB Notification: Performance of Templates: time 0.007132/0.3808, allocations: 2.788 MB / 0.5797 GB, free: 23.61 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)