Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_Buildings_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.00149/0.001489, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001604/0.001604, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.179/2.179, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000661/0.0006611, allocations: 14.09 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3292, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005289/0.3345, allocations: 4.006 MB / 0.7912 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.338, allocations: 2.055 MB / 0.7932 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.3383, allocations: 7.938 kB / 0.7932 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.3385, allocations: 63.59 kB / 0.7932 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.3392, allocations: 187.4 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.34, allocations: 259.4 kB / 0.7937 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.3404, allocations: 327.3 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.3417, allocations: 0.6036 MB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.342, allocations: 159.4 kB / 0.7947 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.3423, allocations: 179.3 kB / 0.7949 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.3424, allocations: 24 kB / 0.7949 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.3428, allocations: 135.8 kB / 0.795 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.343, allocations: 147.6 kB / 0.7952 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3431, allocations: 97.45 kB / 0.7953 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005169/0.3436, allocations: 482.7 kB / 0.7957 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3436, allocations: 0 / 0.7957 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3436, allocations: 0 / 0.7957 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3436, allocations: 0 / 0.7957 GB, free: 3.102 MB / 0.6075 GB 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.00111/0.3448, allocations: 0.6394 MB / 0.7964 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3448, allocations: 11.97 kB / 0.7964 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.105e-05/0.3449, allocations: 78.53 kB / 0.7964 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.3459, allocations: 155.2 kB / 0.7966 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005362/0.3465, allocations: 311.3 kB / 0.7969 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.3465, allocations: 29 kB / 0.7969 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.3466, allocations: 39.89 kB / 0.797 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009808/0.3476, allocations: 0.6221 MB / 0.7976 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.3476, allocations: 4 kB / 0.7976 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.3477, allocations: 15.98 kB / 0.7976 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3478, allocations: 40.64 kB / 0.7976 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/0.3486, allocations: 486 kB / 0.7981 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.353, allocations: 3.424 MB / 0.8014 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.3538, allocations: 369 kB / 0.8018 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.3539, allocations: 7.938 kB / 0.8018 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.354, allocations: 50.48 kB / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 3.115e-06/0.354, allocations: 0 / 0.8018 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004734/0.3587, allocations: 1.454 MB / 0.8033 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3588, allocations: 81.11 kB / 0.8033 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.3592, allocations: 324.4 kB / 0.8036 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.3592, allocations: 29.7 kB / 0.8037 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3594, allocations: 259.3 kB / 0.8039 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-05/0.3595, allocations: 98.64 kB / 0.804 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.3595, allocations: 8 kB / 0.804 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3597, allocations: 346.8 kB / 0.8043 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.3599, allocations: 169 kB / 0.8045 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3603, allocations: 342 kB / 0.8048 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.3607, allocations: 223.9 kB / 0.805 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3607, allocations: 0 / 0.805 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002188/0.3629, allocations: 0.9094 MB / 0.8059 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.000932/0.3638, allocations: 2.094 MB / 0.808 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.3638, allocations: 8 kB / 0.808 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.3663, allocations: 0.501 MB / 0.8085 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.3667, allocations: 99.81 kB / 0.8086 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.3725, allocations: 3.864 MB / 0.8123 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.373, allocations: 43.8 kB / 0.8124 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.373, allocations: 20 kB / 0.8124 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.373, allocations: 4 kB / 0.8124 GB, free: 0.9258 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000708/0.3738, allocations: 483.8 kB / 0.8129 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3738, allocations: 8.125 kB / 0.8129 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.3738, allocations: 12 kB / 0.8129 GB, free: 444 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003839/0.3742, allocations: 115.8 kB / 0.813 GB, free: 328 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.3742, allocations: 8 kB / 0.813 GB, free: 320 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.3745, allocations: 35.81 kB / 0.813 GB, free: 284 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.3745, allocations: 20 kB / 0.8131 GB, free: 264 kB / 0.6231 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.3748, allocations: 269.1 kB / 0.8133 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.3749, allocations: 31.62 kB / 0.8133 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.3765, allocations: 0.6734 MB / 0.814 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3766, allocations: 4 kB / 0.814 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3766, allocations: 0 / 0.814 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3766, allocations: 11.94 kB / 0.814 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000934/0.3775, allocations: 0.652 MB / 0.8147 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3775, allocations: 0 / 0.8147 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.3777, allocations: 43.91 kB / 0.8147 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.3792, allocations: 409.2 kB / 0.8151 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.3793, allocations: 7.953 kB / 0.8151 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004006/0.3833, allocations: 3.56 MB / 0.8186 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3833, allocations: 0 / 0.8186 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.385, allocations: 0.8544 MB / 0.8194 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.3852, allocations: 140.6 kB / 0.8195 GB, free: 9.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.3853, allocations: 11.98 kB / 0.8196 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.3856, allocations: 35.94 kB / 0.8196 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.3857, allocations: 32.38 kB / 0.8196 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3857, allocations: 8 kB / 0.8196 GB, free: 9.098 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002226/0.3859, allocations: 223.1 kB / 0.8198 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3859, allocations: 3.828 kB / 0.8198 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009007/0.3869, allocations: 192 kB / 0.82 GB, free: 8.695 MB / 0.6387 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002148/0.389, allocations: 1.646 MB / 0.8216 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.3906, allocations: 0.9477 MB / 0.8226 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3906, allocations: 0 / 0.8226 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.3913, allocations: 478.8 kB / 0.823 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.3918, allocations: 67.44 kB / 0.8231 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.3975, allocations: 6.129 MB / 0.8291 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.3981, allocations: 0.8548 MB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004987/0.3986, allocations: 139.1 kB / 0.83 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.3988, allocations: 115.4 kB / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of SimCode: time 1.202e-06/0.3988, allocations: 0 / 0.8301 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.4261, allocations: 9.858 MB / 0.8398 GB, free: 4.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/0.4264, allocations: 230.2 kB / 0.84 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.768, allocations: 0 / 0.84 GB, free: 4.168 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: