Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_9_Buildings_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.0009995/0.0009996, allocations: 91.61 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.001224/0.001224, 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.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.646/2.646, allocations: 390.4 MB / 0.6655 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8248/0.8252, allocations: 142.3 MB / 0.9539 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004158/0.8294, allocations: 3.651 MB / 0.9574 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002904/0.8323, allocations: 2.059 MB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.8325, allocations: 13.31 kB / 0.9594 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.8328, allocations: 67.52 kB / 0.9595 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.8333, allocations: 219.8 kB / 0.9597 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.834, allocations: 266.9 kB / 0.96 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006445/0.8347, allocations: 0.6497 MB / 0.9606 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.8357, allocations: 0.6026 MB / 0.9612 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.836, allocations: 192.2 kB / 0.9614 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.8364, allocations: 254.9 kB / 0.9616 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.099e-05/0.8365, allocations: 17.81 kB / 0.9616 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.8368, allocations: 146.1 kB / 0.9618 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.837, allocations: 152 kB / 0.9619 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.327e-05/0.8371, allocations: 93.14 kB / 0.962 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.8375, allocations: 0.4894 MB / 0.9625 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8375, allocations: 0 / 0.9625 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8376, allocations: 0 / 0.9625 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.8376, allocations: 1.031 kB / 0.9625 GB, free: 1.703 MB / 0.7169 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.0009501/0.8385, allocations: 0.6346 MB / 0.9631 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.8386, allocations: 10 kB / 0.9631 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.521e-05/0.8387, allocations: 81.17 kB / 0.9632 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009777/0.8397, allocations: 132.2 kB / 0.9633 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.84, allocations: 317.9 kB / 0.9636 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.8401, allocations: 23.97 kB / 0.9636 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.8402, allocations: 47.33 kB / 0.9637 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009349/0.8411, allocations: 0.6189 MB / 0.9643 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.8411, allocations: 12.97 kB / 0.9643 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.8412, allocations: 17.12 kB / 0.9643 GB, free: 216 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.879e-05/0.8413, allocations: 43.09 kB / 0.9644 GB, free: 204 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.842, allocations: 469.7 kB / 0.9648 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.8457, allocations: 3.427 MB / 0.9682 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.8464, allocations: 377.1 kB / 0.9685 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.8467, allocations: 175.2 kB / 0.9687 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.317e-05/0.8468, allocations: 3.094 kB / 0.9687 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.414e-05/0.8468, allocations: 36.61 kB / 0.9687 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/0.8468, allocations: 3.938 kB / 0.9687 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=26): time 0.004325/0.8512, allocations: 1.459 MB / 0.9702 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.8512, allocations: 80.95 kB / 0.9702 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004157/0.8517, allocations: 324.1 kB / 0.9705 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.8517, allocations: 36.2 kB / 0.9706 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.8519, allocations: 261.9 kB / 0.9708 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.852, allocations: 99.27 kB / 0.9709 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.852, allocations: 10.62 kB / 0.9709 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.8522, allocations: 342.9 kB / 0.9713 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.8525, allocations: 175.5 kB / 0.9714 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/0.8529, allocations: 347 kB / 0.9718 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.8532, allocations: 226 kB / 0.972 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8532, allocations: 2.906 kB / 0.972 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002156/0.8554, allocations: 0.907 MB / 0.9729 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/0.8556, allocations: 245.9 kB / 0.9731 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.8556, allocations: 4.844 kB / 0.9731 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002061/0.8577, allocations: 0.5071 MB / 0.9736 GB, free: 9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.8581, allocations: 90.55 kB / 0.9737 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005528/0.8636, allocations: 3.783 MB / 0.9774 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.864, allocations: 42.22 kB / 0.9774 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.8641, allocations: 24.98 kB / 0.9774 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.8641, allocations: 4.094 kB / 0.9774 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007614/0.8649, allocations: 486.5 kB / 0.9779 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.8649, allocations: 5.906 kB / 0.9779 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.8649, allocations: 7.656 kB / 0.9779 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.8653, allocations: 105 kB / 0.978 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.8653, allocations: 10.97 kB / 0.978 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.8656, allocations: 41.88 kB / 0.9781 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.8656, allocations: 21.22 kB / 0.9781 GB, free: 5.32 MB / 0.7325 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.0003333/0.8659, allocations: 275 kB / 0.9784 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.8661, allocations: 36.83 kB / 0.9784 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.8678, allocations: 0.6649 MB / 0.979 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.8678, allocations: 3.156 kB / 0.979 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.8678, allocations: 5 kB / 0.979 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8678, allocations: 1.375 kB / 0.979 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009527/0.8688, allocations: 0.6566 MB / 0.9797 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8688, allocations: 1.344 kB / 0.9797 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.869, allocations: 43.97 kB / 0.9797 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.8704, allocations: 410.8 kB / 0.9801 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.8704, allocations: 6.875 kB / 0.9801 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/0.8741, allocations: 3.473 MB / 0.9835 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.8741, allocations: 4.031 kB / 0.9835 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.8758, allocations: 0.826 MB / 0.9843 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/0.876, allocations: 148.6 kB / 0.9845 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.8761, allocations: 4 kB / 0.9845 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.8764, allocations: 35.94 kB / 0.9845 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.8764, allocations: 23.97 kB / 0.9845 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.8765, allocations: 15.94 kB / 0.9845 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002281/0.8767, allocations: 223.1 kB / 0.9848 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8767, allocations: 0 / 0.9848 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008851/0.8776, allocations: 196 kB / 0.9849 GB, free: 14.79 MB / 0.7481 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.002275/0.8799, allocations: 1.399 MB / 0.9863 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.8816, allocations: 0.9524 MB / 0.9872 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8816, allocations: 0 / 0.9872 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.8823, allocations: 474.9 kB / 0.9877 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.8829, allocations: 69.8 kB / 0.9878 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00499/0.8879, allocations: 2.651 MB / 0.9904 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.8885, allocations: 0.8509 MB / 0.9912 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004326/0.8889, allocations: 131.1 kB / 0.9913 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.8891, allocations: 119.3 kB / 0.9914 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of SimCode: time 2.375e-06/0.8891, allocations: 7.938 kB / 0.9914 GB, free: 7.918 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.9151, allocations: 9.869 MB / 1.001 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.9154, allocations: 218.1 kB / 1.001 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.023/2.939, allocations: 0 / 1.001 GB, free: 14.02 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe_res.mat does not exist to compare? outputFormat=mat