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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001248, allocations: 110.2 kB / 16.27 MB, free: 6.004 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.001404/0.001404, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7022/0.7022, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3205, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004214/0.3248, allocations: 3.062 MB / 0.5703 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.3276, allocations: 1.722 MB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.3278, allocations: 8.719 kB / 0.572 GB, free: 29.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.329, allocations: 326 kB / 0.5723 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005964/0.3296, allocations: 216.2 kB / 0.5725 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.33, allocations: 175.7 kB / 0.5727 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3303, allocations: 318.8 kB / 0.573 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.3307, allocations: 243.4 kB / 0.5732 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.3308, allocations: 133.7 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.3311, allocations: 164.7 kB / 0.5735 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/0.3312, allocations: 20.19 kB / 0.5735 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004115/0.3316, allocations: 242.7 kB / 0.5737 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.3317, allocations: 106 kB / 0.5738 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.3319, allocations: 120 kB / 0.574 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006376/0.3325, allocations: 422.4 kB / 0.5744 GB, free: 28.52 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3325, allocations: 1.25 kB / 0.5744 GB, free: 28.52 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3325, allocations: 0 / 0.5744 GB, free: 28.52 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.3325, allocations: 1.031 kB / 0.5744 GB, free: 28.52 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.0008044/0.3334, allocations: 0.5474 MB / 0.5749 GB, free: 28.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3334, allocations: 9.344 kB / 0.5749 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.606e-05/0.3335, allocations: 58.53 kB / 0.575 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.3342, allocations: 92.58 kB / 0.575 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3344, allocations: 261.8 kB / 0.5753 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3344, allocations: 14.47 kB / 0.5753 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.3345, allocations: 29.95 kB / 0.5753 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.335, allocations: 378.7 kB / 0.5757 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3351, allocations: 9.359 kB / 0.5757 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3351, allocations: 6.281 kB / 0.5757 GB, free: 27.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.56e-05/0.3352, allocations: 31.2 kB / 0.5757 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004362/0.3356, allocations: 305.6 kB / 0.576 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.337, allocations: 1.53 MB / 0.5775 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.3375, allocations: 224.8 kB / 0.5777 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.3376, allocations: 120.2 kB / 0.5779 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.3377, allocations: 86.62 kB / 0.5779 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.3378, allocations: 33.7 kB / 0.578 GB, free: 25.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.3378, allocations: 1.125 kB / 0.578 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001085/0.3389, allocations: 0.7874 MB / 0.5787 GB, free: 25.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.3389, allocations: 62.83 kB / 0.5788 GB, free: 25.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3391, allocations: 198.6 kB / 0.579 GB, free: 25.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3391, allocations: 31.78 kB / 0.579 GB, free: 25.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.3392, allocations: 162.4 kB / 0.5792 GB, free: 25.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3392, allocations: 65.42 kB / 0.5792 GB, free: 24.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.3393, allocations: 58.48 kB / 0.5793 GB, free: 24.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.012e-05/0.3394, allocations: 332.6 kB / 0.5796 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.3395, allocations: 115.7 kB / 0.5797 GB, free: 24.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3397, allocations: 170.6 kB / 0.5799 GB, free: 24.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.34, allocations: 295.4 kB / 0.5802 GB, free: 24.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.34, allocations: 1.031 kB / 0.5802 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006927/0.3407, allocations: 423 kB / 0.5806 GB, free: 24.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3408, allocations: 5.188 kB / 0.5806 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3408, allocations: 1.312 kB / 0.5806 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004014/0.3412, allocations: 103.6 kB / 0.5807 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.3414, allocations: 52.84 kB / 0.5807 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.3429, allocations: 1.876 MB / 0.5826 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.3432, allocations: 21.7 kB / 0.5826 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3432, allocations: 11.78 kB / 0.5826 GB, free: 22.49 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.000102/0.3433, allocations: 157 kB / 0.5827 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.3433, allocations: 16.72 kB / 0.5828 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.3437, allocations: 291.1 kB / 0.583 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3438, allocations: 3.438 kB / 0.583 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.3438, allocations: 4.906 kB / 0.583 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3438, allocations: 5.281 kB / 0.583 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.3444, allocations: 0.705 MB / 0.5837 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3444, allocations: 1.656 kB / 0.5837 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.3447, allocations: 58.48 kB / 0.5838 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3447, allocations: 6.219 kB / 0.5838 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.3448, allocations: 8.562 kB / 0.5838 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3448, allocations: 1.094 kB / 0.5838 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3448, allocations: 5.031 kB / 0.5838 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004513/0.3452, allocations: 0.5187 MB / 0.5843 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.3453, allocations: 120.9 kB / 0.5844 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.3454, allocations: 3.094 kB / 0.5844 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3455, allocations: 11.42 kB / 0.5844 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.3456, allocations: 10.77 kB / 0.5845 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.3456, allocations: 11.86 kB / 0.5845 GB, free: 21.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.18e-05/0.3457, allocations: 147.9 kB / 0.5846 GB, free: 20.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3457, allocations: 5.406 kB / 0.5846 GB, free: 20.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.346, allocations: 65.91 kB / 0.5847 GB, free: 20.96 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.0006432/0.3467, allocations: 1.059 MB / 0.5857 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006067/0.3473, allocations: 447 kB / 0.5861 GB, free: 19.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3473, allocations: 0 / 0.5861 GB, free: 19.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3475, allocations: 123.3 kB / 0.5863 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3478, allocations: 41.39 kB / 0.5863 GB, free: 19.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.3507, allocations: 2.88 MB / 0.5891 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.3508, allocations: 0.7779 MB / 0.5899 GB, free: 16.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001531/0.351, allocations: 59.91 kB / 0.5899 GB, free: 16.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.171e-05/0.3511, allocations: 62.39 kB / 0.59 GB, free: 16.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3511, allocations: 1.438 kB / 0.59 GB, free: 16.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.3724, allocations: 4.991 MB / 0.5949 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.348/8.72, allocations: 11.17 kB / 0.5949 GB, free: 13.88 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)