Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.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.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe",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.001086/0.001086, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.00102/0.00102, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.282/1.282, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7321/0.7321, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 68.08 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 77.92 MB / 0.5673 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005574/0.3174, allocations: 4.144 MB / 0.5713 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00322/0.3206, allocations: 2.351 MB / 0.5736 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.3208, allocations: 11.81 kB / 0.5736 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.3222, allocations: 0.5412 MB / 0.5742 GB, free: 28.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005349/0.3227, allocations: 292.2 kB / 0.5745 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/0.3235, allocations: 347.2 kB / 0.5748 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004927/0.324, allocations: 0.5655 MB / 0.5753 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004779/0.3245, allocations: 368.2 kB / 0.5757 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.3247, allocations: 224.5 kB / 0.5759 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.3251, allocations: 282.2 kB / 0.5762 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.3e-05/0.3252, allocations: 36.88 kB / 0.5762 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.3257, allocations: 289 kB / 0.5765 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.3258, allocations: 177 kB / 0.5766 GB, free: 26.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000195/0.326, allocations: 214.6 kB / 0.5769 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006907/0.3267, allocations: 0.6544 MB / 0.5775 GB, free: 26.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3267, allocations: 0 / 0.5775 GB, free: 26.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3268, allocations: 2.656 kB / 0.5775 GB, free: 26.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3268, allocations: 0 / 0.5775 GB, free: 26.63 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.000963/0.3277, allocations: 0.7192 MB / 0.5782 GB, free: 26.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.3278, allocations: 11.03 kB / 0.5782 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.007e-05/0.3279, allocations: 80.08 kB / 0.5783 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.329, allocations: 164.3 kB / 0.5784 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.3294, allocations: 328.1 kB / 0.5788 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.3294, allocations: 32.48 kB / 0.5788 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.577e-05/0.3295, allocations: 35.66 kB / 0.5788 GB, free: 25.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008227/0.3303, allocations: 0.6391 MB / 0.5794 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.3303, allocations: 2.125 kB / 0.5794 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.3304, allocations: 21.48 kB / 0.5795 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.3305, allocations: 43.17 kB / 0.5795 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007439/0.3312, allocations: 492.7 kB / 0.58 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.3338, allocations: 3.432 MB / 0.5833 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.3345, allocations: 372 kB / 0.5837 GB, free: 21.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.3347, allocations: 173.6 kB / 0.5838 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.744e-05/0.3347, allocations: 10.36 kB / 0.5839 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.3347, allocations: 36.84 kB / 0.5839 GB, free: 21.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.704e-06/0.3347, allocations: 1.25 kB / 0.5839 GB, free: 21.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004199/0.339, allocations: 1.454 MB / 0.5853 GB, free: 20.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.339, allocations: 85.17 kB / 0.5854 GB, free: 20.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.3393, allocations: 333.2 kB / 0.5857 GB, free: 20.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.3393, allocations: 32.61 kB / 0.5857 GB, free: 20.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.3394, allocations: 257.6 kB / 0.586 GB, free: 20.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.3395, allocations: 95.67 kB / 0.5861 GB, free: 20.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3396, allocations: 98.17 kB / 0.5862 GB, free: 19.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.3397, allocations: 343.1 kB / 0.5865 GB, free: 19.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.34, allocations: 188.4 kB / 0.5867 GB, free: 19.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.3403, allocations: 348.1 kB / 0.587 GB, free: 19.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.3409, allocations: 0.544 MB / 0.5875 GB, free: 18.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3409, allocations: 1.125 kB / 0.5875 GB, free: 18.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002201/0.3431, allocations: 0.927 MB / 0.5885 GB, free: 18.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3431, allocations: 7.375 kB / 0.5885 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3432, allocations: 8.812 kB / 0.5885 GB, free: 18.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.3453, allocations: 0.5018 MB / 0.589 GB, free: 18.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.3457, allocations: 99.91 kB / 0.5891 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004521/0.3502, allocations: 4.064 MB / 0.593 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.3507, allocations: 41.61 kB / 0.5931 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.3508, allocations: 25.34 kB / 0.5931 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003841/0.3512, allocations: 305.7 kB / 0.5934 GB, free: 14.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002971/0.3515, allocations: 341 kB / 0.5937 GB, free: 13.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004917/0.352, allocations: 0.5051 MB / 0.5942 GB, free: 13.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.352, allocations: 1.219 kB / 0.5942 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007858/0.3528, allocations: 0.5416 MB / 0.5947 GB, free: 13.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3528, allocations: 8.375 kB / 0.5947 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3528, allocations: 5.594 kB / 0.5947 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.3528, allocations: 16.47 kB / 0.5948 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/0.3533, allocations: 109.4 kB / 0.5949 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.3533, allocations: 12.61 kB / 0.5949 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.3537, allocations: 42.41 kB / 0.5949 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.3537, allocations: 21.16 kB / 0.5949 GB, free: 13.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.3538, allocations: 204.3 kB / 0.5951 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.3539, allocations: 40.41 kB / 0.5952 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.3554, allocations: 0.6801 MB / 0.5958 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3554, allocations: 4 kB / 0.5958 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3555, allocations: 0 / 0.5958 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3555, allocations: 3.984 kB / 0.5958 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.3562, allocations: 0.6598 MB / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3562, allocations: 0 / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.3564, allocations: 43.91 kB / 0.5965 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.3577, allocations: 405.2 kB / 0.5969 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.3578, allocations: 11.94 kB / 0.5969 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003159/0.3609, allocations: 3.765 MB / 0.6006 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3609, allocations: 0 / 0.6006 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3623, allocations: 0.8254 MB / 0.6014 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.3624, allocations: 144.6 kB / 0.6015 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.3625, allocations: 7.984 kB / 0.6015 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.3629, allocations: 39.94 kB / 0.6016 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.3629, allocations: 27.91 kB / 0.6016 GB, free: 6.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.363, allocations: 4 kB / 0.6016 GB, free: 6.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002095/0.3632, allocations: 235 kB / 0.6018 GB, free: 5.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3632, allocations: 4 kB / 0.6018 GB, free: 5.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007937/0.364, allocations: 196 kB / 0.602 GB, free: 5.684 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001683/0.3657, allocations: 1.398 MB / 0.6034 GB, free: 4.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.3671, allocations: 1.011 MB / 0.6044 GB, free: 3.207 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3671, allocations: 4.125 kB / 0.6044 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.3677, allocations: 485 kB / 0.6049 GB, free: 2.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.3682, allocations: 74.12 kB / 0.6049 GB, free: 2.637 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006642/0.3749, allocations: 4.552 MB / 0.6094 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3753, allocations: 0.847 MB / 0.6102 GB, free: 12.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004559/0.3758, allocations: 147.1 kB / 0.6103 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.3759, allocations: 119.4 kB / 0.6104 GB, free: 12.7 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3759, allocations: 0 / 0.6104 GB, free: 12.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.4072, allocations: 10.67 MB / 0.6209 GB, free: 2.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.85, allocations: 11.5 kB / 0.6209 GB, free: 2.223 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)