Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="BuildingSystems_BuildingSystems_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.0007731/0.0007731, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005729/0.005729, allocations: 172 kB / 16.27 MB, free: 6.66 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.275/1.275, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001789, allocations: 259.2 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9163/0.9163, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005056, allocations: 12.69 kB / 0.5988 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 88.55 MB / 0.6852 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004835/0.165, allocations: 3.795 MB / 0.689 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00346/0.1685, allocations: 2.184 MB / 0.6911 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.1687, allocations: 7.938 kB / 0.6911 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1689, allocations: 62.94 kB / 0.6912 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005816/0.1695, allocations: 254.9 kB / 0.6914 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007528/0.1703, allocations: 314.8 kB / 0.6917 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007407/0.171, allocations: 0.8025 MB / 0.6925 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1722, allocations: 0.6536 MB / 0.6931 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.1724, allocations: 175.3 kB / 0.6933 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004038/0.1728, allocations: 267 kB / 0.6935 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.1729, allocations: 16 kB / 0.6936 GB, free: 6.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004703/0.1734, allocations: 299.4 kB / 0.6938 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.1735, allocations: 159.6 kB / 0.694 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.1737, allocations: 208.7 kB / 0.6942 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1743, allocations: 0.6345 MB / 0.6948 GB, free: 5.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1743, allocations: 0 / 0.6948 GB, free: 5.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1744, allocations: 4 kB / 0.6948 GB, free: 5.117 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1744, allocations: 0 / 0.6948 GB, free: 5.117 MB / 494.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.0009035/0.1753, allocations: 0.624 MB / 0.6954 GB, free: 4.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1753, allocations: 12.03 kB / 0.6954 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.726e-05/0.1754, allocations: 82.7 kB / 0.6955 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009367/0.1764, allocations: 144.2 kB / 0.6957 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1767, allocations: 329 kB / 0.696 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.1768, allocations: 25.38 kB / 0.696 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.1768, allocations: 36.38 kB / 0.696 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.1777, allocations: 0.6223 MB / 0.6966 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1777, allocations: 3.938 kB / 0.6966 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.1778, allocations: 20 kB / 0.6967 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.349e-05/0.1778, allocations: 40.62 kB / 0.6967 GB, free: 3.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.1785, allocations: 482.1 kB / 0.6972 GB, free: 2.566 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.1817, allocations: 3.424 MB / 0.7005 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.1823, allocations: 378.9 kB / 0.7009 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1826, allocations: 173.6 kB / 0.701 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1826, allocations: 4 kB / 0.701 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1827, allocations: 38.91 kB / 0.7011 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.1827, allocations: 0 / 0.7011 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26): time 0.004466/0.1871, allocations: 1.469 MB / 0.7025 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1872, allocations: 81.11 kB / 0.7026 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1875, allocations: 332.3 kB / 0.7029 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1876, allocations: 29.7 kB / 0.7029 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.1877, allocations: 259.3 kB / 0.7032 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.1878, allocations: 94.64 kB / 0.7033 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.1879, allocations: 49.64 kB / 0.7033 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.188, allocations: 338.8 kB / 0.7036 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.1883, allocations: 181 kB / 0.7038 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.1886, allocations: 342 kB / 0.7041 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.1892, allocations: 0.5352 MB / 0.7047 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1893, allocations: 0 / 0.7047 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00223/0.1915, allocations: 0.9131 MB / 0.7055 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.1917, allocations: 253.1 kB / 0.7058 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.1917, allocations: 8 kB / 0.7058 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.1939, allocations: 0.4971 MB / 0.7063 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.1943, allocations: 99.81 kB / 0.7064 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.1995, allocations: 3.771 MB / 0.7101 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.1999, allocations: 43.81 kB / 0.7101 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-05/0.1999, allocations: 23.98 kB / 0.7101 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.1999, allocations: 4 kB / 0.7101 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006737/0.2006, allocations: 476 kB / 0.7106 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2006, allocations: 7.938 kB / 0.7106 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.2007, allocations: 12.06 kB / 0.7106 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.201, allocations: 107.9 kB / 0.7107 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.2011, allocations: 11.94 kB / 0.7107 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.2013, allocations: 31.83 kB / 0.7107 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2013, allocations: 23.98 kB / 0.7108 GB, free: 3.699 MB / 0.4981 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 (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.0002441/0.2016, allocations: 277.5 kB / 0.711 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.2017, allocations: 31.77 kB / 0.7111 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001677/0.2034, allocations: 0.6709 MB / 0.7117 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2034, allocations: 4 kB / 0.7117 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.2034, allocations: 0 / 0.7117 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.82e-06/0.2034, allocations: 3.984 kB / 0.7117 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008251/0.2042, allocations: 0.6598 MB / 0.7124 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2042, allocations: 0 / 0.7124 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2044, allocations: 47.97 kB / 0.7124 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.2059, allocations: 413.2 kB / 0.7128 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.206, allocations: 4 kB / 0.7128 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/0.2096, allocations: 3.482 MB / 0.7162 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2096, allocations: 0 / 0.7162 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.2112, allocations: 0.8309 MB / 0.717 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.2114, allocations: 136.7 kB / 0.7172 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.2114, allocations: 4 kB / 0.7172 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2118, allocations: 39.94 kB / 0.7172 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.2118, allocations: 19.97 kB / 0.7172 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2119, allocations: 15.92 kB / 0.7172 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002185/0.2121, allocations: 227.1 kB / 0.7174 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2121, allocations: 4 kB / 0.7175 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008077/0.2129, allocations: 192 kB / 0.7176 GB, free: 12.26 MB / 0.5137 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 (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.002081/0.215, allocations: 1.407 MB / 0.719 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.2165, allocations: 0.9571 MB / 0.7199 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2165, allocations: 0.6875 kB / 0.7199 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006928/0.2172, allocations: 485 kB / 0.7204 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.2178, allocations: 73.23 kB / 0.7205 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007189/0.225, allocations: 4.695 MB / 0.7251 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.2255, allocations: 0.847 MB / 0.7259 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.2259, allocations: 143.2 kB / 0.726 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.2261, allocations: 115.3 kB / 0.7261 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2261, allocations: 0 / 0.7261 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/0.2477, allocations: 9.903 MB / 0.7358 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.2479, allocations: 243.9 kB / 0.736 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.092, allocations: 3.938 kB / 0.736 GB, free: 9.273 MB / 0.5294 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)