Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_latest_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.001054/0.001054, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001453/0.001453, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.602/2.602, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003826, allocations: 8 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7462, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005198/0.7515, allocations: 4.106 MB / 0.9851 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003601/0.7551, allocations: 2.074 MB / 0.9872 GB, free: 40 kB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003913/0.7556, allocations: 4 kB / 0.9872 GB, free: 36 kB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004198/0.756, allocations: 71.52 kB / 0.9872 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.7569, allocations: 218.9 kB / 0.9875 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009392/0.7578, allocations: 263.4 kB / 0.9877 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008646/0.7587, allocations: 0.6464 MB / 0.9883 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.7599, allocations: 0.6085 MB / 0.9889 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.7604, allocations: 183.3 kB / 0.9891 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005281/0.7609, allocations: 259.1 kB / 0.9894 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.113e-05/0.761, allocations: 20 kB / 0.9894 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000374/0.7613, allocations: 143.8 kB / 0.9895 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.7615, allocations: 147.6 kB / 0.9896 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.7617, allocations: 97.45 kB / 0.9897 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.7623, allocations: 497 kB / 0.9902 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.7623, allocations: 0 / 0.9902 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7623, allocations: 0 / 0.9902 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.956e-05/0.7623, allocations: 0 / 0.9902 GB, free: 12.89 MB / 0.7481 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.001362/0.7637, allocations: 0.6355 MB / 0.9908 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.7638, allocations: 12.03 kB / 0.9908 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.7639, allocations: 82.45 kB / 0.9909 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.765, allocations: 139.3 kB / 0.9911 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.7655, allocations: 311.4 kB / 0.9914 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.7655, allocations: 32.94 kB / 0.9914 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.286e-05/0.7656, allocations: 39.98 kB / 0.9914 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.7666, allocations: 0.6182 MB / 0.992 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.7666, allocations: 0 / 0.992 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.7667, allocations: 27.97 kB / 0.9921 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.064e-05/0.7667, allocations: 36.64 kB / 0.9921 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007266/0.7675, allocations: 482.1 kB / 0.9926 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003398/0.7709, allocations: 3.42 MB / 0.9959 GB, free: 6.633 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.7716, allocations: 375.8 kB / 0.9962 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.7718, allocations: 177.6 kB / 0.9964 GB, free: 6.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.752e-05/0.7719, allocations: 7.984 kB / 0.9964 GB, free: 6.062 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.7719, allocations: 34.56 kB / 0.9965 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.7719, allocations: 0 / 0.9965 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.004228/0.7762, allocations: 1.457 MB / 0.9979 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.7762, allocations: 85.09 kB / 0.998 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.7766, allocations: 328.3 kB / 0.9983 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.7766, allocations: 33.7 kB / 0.9983 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.7768, allocations: 259.2 kB / 0.9986 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.7769, allocations: 102.7 kB / 0.9987 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.7769, allocations: 4 kB / 0.9987 GB, free: 3.684 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.7771, allocations: 338.8 kB / 0.999 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.7774, allocations: 181 kB / 0.9992 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/0.7778, allocations: 338.1 kB / 0.9995 GB, free: 2.766 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.7782, allocations: 235.8 kB / 0.9997 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7782, allocations: 0 / 0.9997 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002187/0.7804, allocations: 0.9164 MB / 1.001 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.7806, allocations: 237.2 kB / 1.001 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.7806, allocations: 8 kB / 1.001 GB, free: 1.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.7826, allocations: 0.501 MB / 1.001 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.7831, allocations: 99.81 kB / 1.001 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/0.7894, allocations: 3.779 MB / 1.005 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.7899, allocations: 35.81 kB / 1.005 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.79, allocations: 32.05 kB / 1.005 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.79, allocations: 4 kB / 1.005 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007969/0.7908, allocations: 475.8 kB / 1.006 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7908, allocations: 8 kB / 1.006 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.7909, allocations: 8 kB / 1.006 GB, free: 12.08 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.7913, allocations: 107.8 kB / 1.006 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.7913, allocations: 8 kB / 1.006 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.7915, allocations: 31.83 kB / 1.006 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.7916, allocations: 31.92 kB / 1.006 GB, free: 11.91 MB / 0.7637 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.0003291/0.7919, allocations: 273.1 kB / 1.006 GB, free: 11.63 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.792, allocations: 31.62 kB / 1.006 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.7937, allocations: 0.671 MB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7937, allocations: 0 / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7937, allocations: 4 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.7937, allocations: 7.984 kB / 1.007 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.7946, allocations: 0.652 MB / 1.007 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7946, allocations: 0 / 1.007 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.7948, allocations: 51.91 kB / 1.007 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.7962, allocations: 405.2 kB / 1.008 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.7963, allocations: 8 kB / 1.008 GB, free: 9.727 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.8001, allocations: 3.471 MB / 1.011 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8002, allocations: 4.031 kB / 1.011 GB, free: 5.988 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.8018, allocations: 0.8259 MB / 1.012 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.802, allocations: 144.7 kB / 1.012 GB, free: 4.969 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.802, allocations: 4 kB / 1.012 GB, free: 4.965 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.8024, allocations: 35.94 kB / 1.012 GB, free: 4.93 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.8024, allocations: 27.89 kB / 1.012 GB, free: 4.902 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.8025, allocations: 19.98 kB / 1.012 GB, free: 4.883 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002644/0.8027, allocations: 223.1 kB / 1.012 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8027, allocations: 3.938 kB / 1.012 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009385/0.8037, allocations: 188 kB / 1.013 GB, free: 4.477 MB / 0.7637 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.002095/0.8058, allocations: 1.4 MB / 1.014 GB, free: 3.039 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.8075, allocations: 0.9606 MB / 1.015 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.8075, allocations: 0 / 1.015 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.8082, allocations: 473.1 kB / 1.015 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.8089, allocations: 65.3 kB / 1.015 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.8135, allocations: 2.652 MB / 1.018 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.814, allocations: 0.8509 MB / 1.019 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004223/0.8145, allocations: 139.1 kB / 1.019 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.8147, allocations: 111.4 kB / 1.019 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of SimCode: time 2.785e-06/0.8147, allocations: 0 / 1.019 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0254/0.8401, allocations: 9.892 MB / 1.029 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.8403, allocations: 239.1 kB / 1.029 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.968, allocations: 0 / 1.029 GB, free: 3.723 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat