Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001425/0.001425, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001691/0.001691, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.324/1.324, 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.7564/0.7564, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 63.89 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005465/0.37, allocations: 4.625 MB / 0.5718 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.3736, allocations: 2.356 MB / 0.5741 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.3738, allocations: 8.781 kB / 0.5741 GB, free: 28.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.3751, allocations: 0.5472 MB / 0.5747 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000527/0.3757, allocations: 286 kB / 0.5749 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008452/0.3765, allocations: 351.7 kB / 0.5753 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.3772, allocations: 0.5592 MB / 0.5758 GB, free: 27.24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005307/0.3777, allocations: 368.5 kB / 0.5762 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.3779, allocations: 228.2 kB / 0.5764 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.3783, allocations: 290.5 kB / 0.5767 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-05/0.3784, allocations: 36.88 kB / 0.5767 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.3789, allocations: 286 kB / 0.577 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.379, allocations: 180.2 kB / 0.5771 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3792, allocations: 212 kB / 0.5773 GB, free: 26.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006853/0.3799, allocations: 0.6542 MB / 0.578 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3799, allocations: 0.9688 kB / 0.578 GB, free: 26.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3799, allocations: 0 / 0.578 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.38, allocations: 0 / 0.578 GB, free: 26.38 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.0009512/0.3809, allocations: 0.7277 MB / 0.5787 GB, free: 25.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.381, allocations: 10.22 kB / 0.5787 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.712e-05/0.381, allocations: 82.72 kB / 0.5788 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.3822, allocations: 153.9 kB / 0.5789 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.3826, allocations: 331.7 kB / 0.5792 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.3826, allocations: 34.72 kB / 0.5793 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-05/0.3827, allocations: 35.38 kB / 0.5793 GB, free: 25.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/0.3836, allocations: 0.6343 MB / 0.5799 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3836, allocations: 3.938 kB / 0.5799 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.478e-05/0.3836, allocations: 17.09 kB / 0.5799 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.187e-05/0.3837, allocations: 46.2 kB / 0.58 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007057/0.3844, allocations: 488 kB / 0.5805 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.387, allocations: 3.427 MB / 0.5838 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.3876, allocations: 380.3 kB / 0.5842 GB, free: 21.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.3879, allocations: 171.7 kB / 0.5843 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.3879, allocations: 6.891 kB / 0.5843 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3879, allocations: 39.31 kB / 0.5844 GB, free: 21.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.3879, allocations: 0 / 0.5844 GB, free: 21.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.004226/0.3922, allocations: 1.459 MB / 0.5858 GB, free: 20.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.3922, allocations: 80.67 kB / 0.5859 GB, free: 20.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.3925, allocations: 336.1 kB / 0.5862 GB, free: 20.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3926, allocations: 31.83 kB / 0.5862 GB, free: 20.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.783e-05/0.3927, allocations: 254.9 kB / 0.5865 GB, free: 19.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.3927, allocations: 101.2 kB / 0.5866 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.3929, allocations: 92.81 kB / 0.5867 GB, free: 19.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.393, allocations: 342.7 kB / 0.587 GB, free: 19.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003001/0.3933, allocations: 189.5 kB / 0.5872 GB, free: 19.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.3936, allocations: 352.1 kB / 0.5875 GB, free: 18.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.3942, allocations: 0.5449 MB / 0.588 GB, free: 18.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3943, allocations: 1.406 kB / 0.588 GB, free: 18.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002228/0.3965, allocations: 0.9185 MB / 0.5889 GB, free: 18.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3965, allocations: 7.844 kB / 0.5889 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3965, allocations: 9.312 kB / 0.5889 GB, free: 18.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002162/0.3987, allocations: 0.4968 MB / 0.5894 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.3991, allocations: 106.9 kB / 0.5895 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.4037, allocations: 4.054 MB / 0.5935 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.4041, allocations: 52.61 kB / 0.5935 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.4042, allocations: 21.62 kB / 0.5936 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003738/0.4046, allocations: 305.6 kB / 0.5938 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003135/0.4049, allocations: 336.8 kB / 0.5942 GB, free: 13.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005016/0.4054, allocations: 0.5045 MB / 0.5947 GB, free: 13.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/0.4054, allocations: 5.141 kB / 0.5947 GB, free: 13.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007724/0.4062, allocations: 0.5426 MB / 0.5952 GB, free: 13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.4062, allocations: 6.844 kB / 0.5952 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4062, allocations: 6.125 kB / 0.5952 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.4062, allocations: 12.88 kB / 0.5952 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.4066, allocations: 121.3 kB / 0.5953 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.4067, allocations: 11.94 kB / 0.5954 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.407, allocations: 39.84 kB / 0.5954 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.4071, allocations: 24 kB / 0.5954 GB, free: 12.86 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 9.776e-05/0.4072, allocations: 209 kB / 0.5956 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.4072, allocations: 35.56 kB / 0.5956 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.4087, allocations: 0.6742 MB / 0.5963 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4087, allocations: 4 kB / 0.5963 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4087, allocations: 0 / 0.5963 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4087, allocations: 3.984 kB / 0.5963 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006735/0.4094, allocations: 0.6598 MB / 0.597 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4094, allocations: 4 kB / 0.597 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.4096, allocations: 47.95 kB / 0.597 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.4109, allocations: 405.3 kB / 0.5974 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.4109, allocations: 8 kB / 0.5974 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002947/0.4139, allocations: 3.754 MB / 0.6011 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4139, allocations: 0 / 0.6011 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/0.4152, allocations: 0.8368 MB / 0.6019 GB, free: 5.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.4154, allocations: 144.6 kB / 0.602 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.4154, allocations: 4 kB / 0.602 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.4158, allocations: 43.94 kB / 0.6021 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.4159, allocations: 23.97 kB / 0.6021 GB, free: 5.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4159, allocations: 4 kB / 0.6021 GB, free: 5.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.4161, allocations: 239 kB / 0.6023 GB, free: 5.359 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4161, allocations: 3.938 kB / 0.6023 GB, free: 5.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007471/0.4169, allocations: 192 kB / 0.6025 GB, free: 5.168 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.001665/0.4185, allocations: 1.402 MB / 0.6039 GB, free: 3.723 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.4199, allocations: 1.012 MB / 0.6049 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4199, allocations: 0 / 0.6049 GB, free: 2.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.4205, allocations: 493.6 kB / 0.6053 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.421, allocations: 61.06 kB / 0.6054 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.4276, allocations: 4.558 MB / 0.6098 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.428, allocations: 0.847 MB / 0.6107 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004265/0.4284, allocations: 143.1 kB / 0.6108 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4285, allocations: 115.4 kB / 0.6109 GB, free: 12.18 MB / 462.1 MB Notification: Performance of SimCode: time 1.663e-06/0.4286, allocations: 0 / 0.6109 GB, free: 12.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.4633, allocations: 10.68 MB / 0.6213 GB, free: 1.727 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/10.92, allocations: 0.625 kB / 0.6213 GB, free: 1.727 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)