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.0008612/0.0008613, allocations: 98.27 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.005347/0.005347, allocations: 170 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.249/1.249, allocations: 205.4 MB / 222.4 MB, free: 5.559 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 1.518/1.518, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004452/0.0004452, allocations: 18.58 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1755, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00502/0.1805, allocations: 4.281 MB / 0.7922 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1838, allocations: 2.187 MB / 0.7943 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.184, allocations: 11.94 kB / 0.7943 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1842, allocations: 63.48 kB / 0.7944 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005668/0.1848, allocations: 251 kB / 0.7946 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.1855, allocations: 315.3 kB / 0.7949 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000742/0.1863, allocations: 0.8064 MB / 0.7957 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.1873, allocations: 0.661 MB / 0.7964 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1876, allocations: 175.3 kB / 0.7965 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000408/0.188, allocations: 267 kB / 0.7968 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.1881, allocations: 20 kB / 0.7968 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.1885, allocations: 287.4 kB / 0.7971 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1887, allocations: 163.6 kB / 0.7972 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.1889, allocations: 216.6 kB / 0.7974 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.1894, allocations: 0.6151 MB / 0.798 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1895, allocations: 4 kB / 0.798 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1895, allocations: 0 / 0.798 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.1895, allocations: 0 / 0.798 GB, free: 1.133 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.000931/0.1904, allocations: 0.6395 MB / 0.7987 GB, free: 456 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1905, allocations: 8.031 kB / 0.7987 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.1906, allocations: 86.69 kB / 0.7988 GB, free: 352 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008961/0.1915, allocations: 136.3 kB / 0.7989 GB, free: 216 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1918, allocations: 324.5 kB / 0.7992 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.1919, allocations: 33.31 kB / 0.7992 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.1919, allocations: 36.38 kB / 0.7993 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.1928, allocations: 0.63 MB / 0.7999 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1928, allocations: 3.938 kB / 0.7999 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.1928, allocations: 16 kB / 0.7999 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.221e-05/0.1929, allocations: 44.62 kB / 0.7999 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.1936, allocations: 474.2 kB / 0.8004 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003018/0.1966, allocations: 3.424 MB / 0.8037 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.1973, allocations: 384.9 kB / 0.8041 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.1975, allocations: 165.6 kB / 0.8043 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.1975, allocations: 8.406 kB / 0.8043 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.1976, allocations: 34.55 kB / 0.8043 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 1.362e-06/0.1976, allocations: 0 / 0.8043 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004321/0.2019, allocations: 1.477 MB / 0.8057 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.2019, allocations: 85.11 kB / 0.8058 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/0.2022, allocations: 324.4 kB / 0.8061 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.2023, allocations: 33.7 kB / 0.8062 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.2024, allocations: 259.3 kB / 0.8064 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.2025, allocations: 86.75 kB / 0.8065 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.2026, allocations: 41.7 kB / 0.8065 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.2027, allocations: 342.8 kB / 0.8069 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.203, allocations: 177 kB / 0.807 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.2033, allocations: 342.1 kB / 0.8074 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.2039, allocations: 0.5275 MB / 0.8079 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2039, allocations: 7.938 kB / 0.8079 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002138/0.2061, allocations: 0.9171 MB / 0.8088 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.2062, allocations: 253.1 kB / 0.809 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.2062, allocations: 7.938 kB / 0.809 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.2084, allocations: 0.501 MB / 0.8095 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.2088, allocations: 91.88 kB / 0.8096 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00497/0.2137, allocations: 3.79 MB / 0.8133 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.2141, allocations: 39.81 kB / 0.8133 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2141, allocations: 24 kB / 0.8134 GB, free: 348 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.2141, allocations: 4 kB / 0.8134 GB, free: 344 kB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006591/0.2148, allocations: 476.1 kB / 0.8138 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2148, allocations: 8 kB / 0.8138 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.2148, allocations: 12.06 kB / 0.8138 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003601/0.2152, allocations: 107.8 kB / 0.8139 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.2152, allocations: 15.92 kB / 0.814 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.2155, allocations: 31.83 kB / 0.814 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.2155, allocations: 16 kB / 0.814 GB, free: 15.68 MB / 0.6387 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.0002059/0.2157, allocations: 277.8 kB / 0.8143 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.2158, allocations: 31.62 kB / 0.8143 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.2174, allocations: 0.6805 MB / 0.815 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.2174, allocations: 4 kB / 0.815 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2174, allocations: 0 / 0.815 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2174, allocations: 0 / 0.815 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/0.2181, allocations: 0.6519 MB / 0.8156 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2182, allocations: 7.938 kB / 0.8156 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.2183, allocations: 47.95 kB / 0.8157 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/0.2198, allocations: 401.3 kB / 0.816 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.2198, allocations: 11.94 kB / 0.8161 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003524/0.2233, allocations: 3.478 MB / 0.8195 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2234, allocations: 4.031 kB / 0.8195 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.2249, allocations: 0.8258 MB / 0.8203 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2251, allocations: 148.5 kB / 0.8204 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.2251, allocations: 8 kB / 0.8204 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.2254, allocations: 35.94 kB / 0.8204 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.2255, allocations: 23.97 kB / 0.8205 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.2255, allocations: 4 kB / 0.8205 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000211/0.2257, allocations: 231 kB / 0.8207 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2258, allocations: 4 kB / 0.8207 GB, free: 8.426 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007128/0.2265, allocations: 192 kB / 0.8209 GB, free: 8.238 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 (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.001981/0.2285, allocations: 1.415 MB / 0.8223 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.2298, allocations: 0.9412 MB / 0.8232 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2299, allocations: 0.625 kB / 0.8232 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.2305, allocations: 485 kB / 0.8236 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.2311, allocations: 69.25 kB / 0.8237 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.2379, allocations: 4.706 MB / 0.8283 GB, free: 300 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.2382, allocations: 0.8431 MB / 0.8291 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000368/0.2386, allocations: 143.1 kB / 0.8293 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.2388, allocations: 115.4 kB / 0.8294 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.2388, allocations: 3.938 kB / 0.8294 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.128/2.367, allocations: 9.887 MB / 0.839 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/2.367, allocations: 249.7 kB / 0.8393 GB, free: 5.258 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/4.199, allocations: 0 / 0.8393 GB, free: 5.258 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/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)