Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 174.6 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205 MB / 0.576 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007472/0.0007472, allocations: 99.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003039, allocations: 9.594 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1605, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003225/0.1638, allocations: 3.853 MB / 0.9 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1661, allocations: 2.217 MB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1662, allocations: 4 kB / 0.9021 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.1672, allocations: 0.5194 MB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1675, allocations: 262.9 kB / 0.9029 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.168, allocations: 303.4 kB / 0.9032 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.1684, allocations: 0.8141 MB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.1688, allocations: 360.2 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.169, allocations: 187.2 kB / 0.9045 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1693, allocations: 263 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.1693, allocations: 20 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.1696, allocations: 299.4 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.1697, allocations: 151.6 kB / 0.9052 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.1699, allocations: 194.9 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003942/0.1703, allocations: 0.6268 MB / 0.906 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1703, allocations: 0 / 0.906 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1703, allocations: 0 / 0.906 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.1703, allocations: 0 / 0.906 GB, free: 58.01 MB / 0.6042 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.0006968/0.171, allocations: 0.6317 MB / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.171, allocations: 8.031 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.842e-05/0.1711, allocations: 78.72 kB / 0.9067 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/0.1719, allocations: 144.2 kB / 0.9068 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.1722, allocations: 324.5 kB / 0.9072 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1722, allocations: 29.36 kB / 0.9072 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.998e-05/0.1722, allocations: 36.38 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.1728, allocations: 0.6183 MB / 0.9078 GB, free: 56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1729, allocations: 4 kB / 0.9078 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.1729, allocations: 19.98 kB / 0.9078 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.173, allocations: 56.55 kB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.1735, allocations: 470.2 kB / 0.9083 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1757, allocations: 3.428 MB / 0.9117 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.1762, allocations: 372.9 kB / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.1764, allocations: 173.6 kB / 0.9122 GB, free: 51.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.1764, allocations: 7.984 kB / 0.9122 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1765, allocations: 38.56 kB / 0.9123 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.292e-06/0.1765, allocations: 4 kB / 0.9123 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.0039/0.1804, allocations: 1.466 MB / 0.9137 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.1804, allocations: 85.05 kB / 0.9138 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1806, allocations: 324.4 kB / 0.9141 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1807, allocations: 33.7 kB / 0.9141 GB, free: 49.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.082e-05/0.1807, allocations: 255.3 kB / 0.9144 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.1808, allocations: 98.73 kB / 0.9145 GB, free: 48.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.1808, allocations: 37.7 kB / 0.9145 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.888e-05/0.1809, allocations: 342.8 kB / 0.9148 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1811, allocations: 177 kB / 0.915 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.1814, allocations: 346.1 kB / 0.9153 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.1818, allocations: 0.5395 MB / 0.9158 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1818, allocations: 0 / 0.9158 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001919/0.1837, allocations: 0.9081 MB / 0.9167 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.1838, allocations: 257.1 kB / 0.917 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1838, allocations: 4 kB / 0.917 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002005/0.1858, allocations: 0.5048 MB / 0.9175 GB, free: 45.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.1861, allocations: 95.88 kB / 0.9176 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.1901, allocations: 3.778 MB / 0.9213 GB, free: 41.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.1905, allocations: 39.81 kB / 0.9213 GB, free: 41.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1905, allocations: 27.98 kB / 0.9213 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.829e-06/0.1905, allocations: 4.062 kB / 0.9213 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005078/0.191, allocations: 483.9 kB / 0.9218 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.191, allocations: 4 kB / 0.9218 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/0.191, allocations: 8 kB / 0.9218 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.1914, allocations: 115.8 kB / 0.9219 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1914, allocations: 11.94 kB / 0.9219 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1916, allocations: 27.92 kB / 0.9219 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.1916, allocations: 23.98 kB / 0.922 GB, free: 40.57 MB / 0.6042 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.0001554/0.1918, allocations: 273.5 kB / 0.9222 GB, free: 40.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.1919, allocations: 35.66 kB / 0.9223 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.1932, allocations: 0.6723 MB / 0.9229 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1933, allocations: 0 / 0.9229 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1933, allocations: 4 kB / 0.9229 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1933, allocations: 3.984 kB / 0.9229 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.1939, allocations: 0.6559 MB / 0.9236 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1939, allocations: 0 / 0.9236 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.1941, allocations: 47.91 kB / 0.9236 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.1954, allocations: 401.3 kB / 0.924 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1954, allocations: 8 kB / 0.924 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.198, allocations: 3.482 MB / 0.9274 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1981, allocations: 4.031 kB / 0.9274 GB, free: 34.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.1996, allocations: 0.8374 MB / 0.9282 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1997, allocations: 136.6 kB / 0.9284 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.1998, allocations: 8 kB / 0.9284 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.2001, allocations: 35.94 kB / 0.9284 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.2002, allocations: 27.91 kB / 0.9284 GB, free: 33.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2002, allocations: 8 kB / 0.9284 GB, free: 33.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001509/0.2003, allocations: 231 kB / 0.9286 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2003, allocations: 0 / 0.9286 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006151/0.201, allocations: 192 kB / 0.9288 GB, free: 33.13 MB / 0.6042 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.001638/0.2026, allocations: 1.408 MB / 0.9302 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.2037, allocations: 0.9683 MB / 0.9312 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2038, allocations: 4.062 kB / 0.9312 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.2043, allocations: 473.1 kB / 0.9316 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.2048, allocations: 79.72 kB / 0.9317 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.2103, allocations: 4.679 MB / 0.9363 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2106, allocations: 0.847 MB / 0.9371 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.2109, allocations: 139.1 kB / 0.9372 GB, free: 24.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.211, allocations: 115.4 kB / 0.9373 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.211, allocations: 0 / 0.9373 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1436/0.3546, allocations: 9.897 MB / 0.947 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/0.3548, allocations: 240.8 kB / 0.9472 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.835, allocations: 0 / 0.9472 GB, free: 14.14 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)