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.00155/0.00155, allocations: 107 kB / 16.27 MB, free: 5.93 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.001745/0.001745, allocations: 186.5 kB / 17.2 MB, free: 5.574 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.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7583/0.7583, allocations: 126.4 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.88 kB / 0.4953 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3258, allocations: 78.78 MB / 0.5723 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004207/0.3301, allocations: 3.06 MB / 0.5753 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.3324, allocations: 1.719 MB / 0.5769 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3326, allocations: 7.969 kB / 0.577 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000952/0.3335, allocations: 342.3 kB / 0.5773 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.334, allocations: 214.5 kB / 0.5775 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.3344, allocations: 175.6 kB / 0.5776 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.3347, allocations: 320.4 kB / 0.578 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003553/0.3351, allocations: 236.8 kB / 0.5782 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3353, allocations: 147.6 kB / 0.5783 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.3355, allocations: 161.8 kB / 0.5785 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.3356, allocations: 22 kB / 0.5785 GB, free: 27.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.3359, allocations: 236.6 kB / 0.5787 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.796e-05/0.3361, allocations: 109.3 kB / 0.5788 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3362, allocations: 123 kB / 0.5789 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.3366, allocations: 415.1 kB / 0.5793 GB, free: 26.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3366, allocations: 1.844 kB / 0.5793 GB, free: 26.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3366, allocations: 0 / 0.5793 GB, free: 26.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3366, allocations: 0.5625 kB / 0.5793 GB, free: 26.53 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.0008755/0.3375, allocations: 0.5485 MB / 0.5799 GB, free: 26.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3375, allocations: 9.281 kB / 0.5799 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007406/0.3383, allocations: 100.3 kB / 0.58 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.3386, allocations: 252.7 kB / 0.5802 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3386, allocations: 14.5 kB / 0.5802 GB, free: 25.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.3387, allocations: 32.88 kB / 0.5803 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.3392, allocations: 374.1 kB / 0.5806 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3392, allocations: 0 / 0.5806 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.29e-05/0.3393, allocations: 10.56 kB / 0.5806 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.827e-05/0.3394, allocations: 36.88 kB / 0.5807 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.3398, allocations: 306.6 kB / 0.581 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.3413, allocations: 1.523 MB / 0.5825 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000392/0.3417, allocations: 235.3 kB / 0.5827 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.3418, allocations: 122 kB / 0.5828 GB, free: 23.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3419, allocations: 85.23 kB / 0.5829 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.342, allocations: 38.03 kB / 0.5829 GB, free: 23.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.342, allocations: 3.938 kB / 0.5829 GB, free: 23.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001132/0.3431, allocations: 0.7818 MB / 0.5837 GB, free: 23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.3432, allocations: 58.42 kB / 0.5837 GB, free: 22.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.3433, allocations: 201.8 kB / 0.5839 GB, free: 22.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3434, allocations: 28.36 kB / 0.584 GB, free: 22.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.3434, allocations: 162.8 kB / 0.5841 GB, free: 22.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.3435, allocations: 67.84 kB / 0.5842 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.3436, allocations: 55.86 kB / 0.5842 GB, free: 22.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.3437, allocations: 336.5 kB / 0.5845 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3438, allocations: 109.2 kB / 0.5846 GB, free: 22.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3441, allocations: 170.1 kB / 0.5848 GB, free: 21.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.3444, allocations: 299 kB / 0.5851 GB, free: 21.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3445, allocations: 3.938 kB / 0.5851 GB, free: 21.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007493/0.3452, allocations: 415.2 kB / 0.5855 GB, free: 21.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3452, allocations: 9.219 kB / 0.5855 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3453, allocations: 4.125 kB / 0.5855 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.3457, allocations: 103.7 kB / 0.5856 GB, free: 21.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.3459, allocations: 50.5 kB / 0.5857 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001529/0.3475, allocations: 1.87 MB / 0.5875 GB, free: 19.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.3477, allocations: 24.36 kB / 0.5875 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.3477, allocations: 15.89 kB / 0.5875 GB, free: 19.79 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.0001406/0.3479, allocations: 152 kB / 0.5877 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.348, allocations: 16.41 kB / 0.5877 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.3484, allocations: 291.8 kB / 0.588 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3484, allocations: 2.25 kB / 0.588 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3484, allocations: 3.469 kB / 0.588 GB, free: 19.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3484, allocations: 9.078 kB / 0.588 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/0.3493, allocations: 0.6998 MB / 0.5887 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3493, allocations: 5.031 kB / 0.5887 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.3496, allocations: 55.23 kB / 0.5887 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3496, allocations: 1.406 kB / 0.5887 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.3496, allocations: 10.88 kB / 0.5887 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.3496, allocations: 1.375 kB / 0.5887 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3496, allocations: 1.75 kB / 0.5887 GB, free: 18.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005978/0.3502, allocations: 0.5172 MB / 0.5892 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.3503, allocations: 124.5 kB / 0.5894 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.3504, allocations: 3.562 kB / 0.5894 GB, free: 18.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.3506, allocations: 17.81 kB / 0.5894 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.3506, allocations: 10.2 kB / 0.5894 GB, free: 18.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3506, allocations: 11 kB / 0.5894 GB, free: 18.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3508, allocations: 146.7 kB / 0.5895 GB, free: 18.29 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3508, allocations: 0 / 0.5895 GB, free: 18.29 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000395/0.3512, allocations: 66.12 kB / 0.5896 GB, free: 18.28 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.0001358/0.3513, allocations: 116 kB / 0.5897 GB, free: 18.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.352, allocations: 448.6 kB / 0.5901 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.352, allocations: 1.406 kB / 0.5901 GB, free: 17.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3522, allocations: 121.1 kB / 0.5903 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.3526, allocations: 46.19 kB / 0.5903 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.3536, allocations: 0.6165 MB / 0.5909 GB, free: 17.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.3538, allocations: 0.7753 MB / 0.5917 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001648/0.354, allocations: 59.45 kB / 0.5917 GB, free: 16.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3541, allocations: 22.61 kB / 0.5917 GB, free: 16.64 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3541, allocations: 0 / 0.5917 GB, free: 16.64 MB / 446.1 MB Notification: Performance of Templates: time 0.005582/0.3597, allocations: 2.785 MB / 0.5945 GB, free: 14.79 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)