Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.441/1.441, allocations: 288.4 MB / 303.6 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008102/0.0008102, allocations: 188.4 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006499/0.0006501, allocations: 86.33 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003278, allocations: 16.03 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003156/0.1506, allocations: 3.639 MB / 0.9837 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.153, allocations: 2.082 MB / 0.9858 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.1532, allocations: 4 kB / 0.9858 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.1534, allocations: 71.44 kB / 0.9858 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.1539, allocations: 246.9 kB / 0.9861 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.1545, allocations: 287.4 kB / 0.9864 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004741/0.155, allocations: 0.6503 MB / 0.987 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/0.1558, allocations: 0.6339 MB / 0.9876 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.156, allocations: 195.3 kB / 0.9878 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.1563, allocations: 251.2 kB / 0.988 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.1564, allocations: 16 kB / 0.9881 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.1567, allocations: 279.4 kB / 0.9883 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1569, allocations: 159.5 kB / 0.9885 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.157, allocations: 200.8 kB / 0.9887 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.1574, allocations: 498.6 kB / 0.9891 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1574, allocations: 0 / 0.9891 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1574, allocations: 0 / 0.9891 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.1574, allocations: 0 / 0.9891 GB, free: 18.04 MB / 0.6198 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.0007558/0.1582, allocations: 0.6416 MB / 0.9898 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1582, allocations: 12.03 kB / 0.9898 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.351e-05/0.1583, allocations: 78.72 kB / 0.9898 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/0.1591, allocations: 136.3 kB / 0.99 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1594, allocations: 324.4 kB / 0.9903 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1594, allocations: 33.36 kB / 0.9903 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.1595, allocations: 40.38 kB / 0.9904 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006322/0.1601, allocations: 0.6183 MB / 0.991 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1601, allocations: 3.938 kB / 0.991 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.1602, allocations: 27.97 kB / 0.991 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.411e-05/0.1602, allocations: 40.62 kB / 0.991 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.1608, allocations: 474.1 kB / 0.9915 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.163, allocations: 3.417 MB / 0.9948 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.1636, allocations: 368.9 kB / 0.9952 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.1638, allocations: 177.6 kB / 0.9953 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.1638, allocations: 8.391 kB / 0.9953 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/0.1638, allocations: 38.56 kB / 0.9954 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.1638, allocations: 0 / 0.9954 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.003776/0.1676, allocations: 1.469 MB / 0.9968 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.1676, allocations: 81.11 kB / 0.9969 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1679, allocations: 324.4 kB / 0.9972 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.1679, allocations: 37.7 kB / 0.9972 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.168, allocations: 255.3 kB / 0.9975 GB, free: 8.918 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.168, allocations: 94.72 kB / 0.9976 GB, free: 8.824 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.941e-05/0.168, allocations: 8 kB / 0.9976 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.1681, allocations: 338.8 kB / 0.9979 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.1683, allocations: 177 kB / 0.9981 GB, free: 8.301 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1685, allocations: 338 kB / 0.9984 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000455/0.169, allocations: 0.5353 MB / 0.9989 GB, free: 7.289 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.169, allocations: 4 kB / 0.9989 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001834/0.1709, allocations: 0.9082 MB / 0.9998 GB, free: 6.363 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.1709, allocations: 253 kB / 1 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.171, allocations: 4 kB / 1 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.1729, allocations: 0.501 MB / 1.001 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.1732, allocations: 87.89 kB / 1.001 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06338/0.2366, allocations: 3.788 MB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.2371, allocations: 47.75 kB / 1.004 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.2371, allocations: 20 kB / 1.004 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.2372, allocations: 4 kB / 1.004 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007947/0.238, allocations: 475.3 kB / 1.005 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.238, allocations: 4 kB / 1.005 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.238, allocations: 8 kB / 1.005 GB, free: 0.8398 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.2384, allocations: 108.5 kB / 1.005 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2385, allocations: 11.94 kB / 1.005 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/0.2387, allocations: 47.75 kB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.2388, allocations: 20 kB / 1.005 GB, free: 0.6562 MB / 0.6198 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.0001955/0.239, allocations: 274.2 kB / 1.005 GB, free: 388 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.2391, allocations: 31.62 kB / 1.005 GB, free: 356 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.2406, allocations: 0.6704 MB / 1.006 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2406, allocations: 4 kB / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.2406, allocations: 0 / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2406, allocations: 0 / 1.006 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008284/0.2414, allocations: 0.6636 MB / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2415, allocations: 0 / 1.007 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.2416, allocations: 44.06 kB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.243, allocations: 401.2 kB / 1.007 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.2431, allocations: 8 kB / 1.007 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003472/0.2465, allocations: 3.478 MB / 1.01 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2465, allocations: 64 / 1.01 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.248, allocations: 0.8263 MB / 1.011 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2482, allocations: 144.6 kB / 1.011 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.2482, allocations: 12 kB / 1.011 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.2485, allocations: 35.94 kB / 1.011 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.2486, allocations: 23.97 kB / 1.011 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2486, allocations: 12 kB / 1.011 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001985/0.2488, allocations: 223 kB / 1.012 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2488, allocations: 0 / 1.012 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006972/0.2495, allocations: 196.1 kB / 1.012 GB, free: 9.23 MB / 0.6355 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.001958/0.2515, allocations: 1.414 MB / 1.013 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.2528, allocations: 0.9516 MB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2529, allocations: 4 kB / 1.014 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006331/0.2535, allocations: 483 kB / 1.015 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005197/0.254, allocations: 69.92 kB / 1.015 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.2581, allocations: 2.658 MB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2585, allocations: 0.847 MB / 1.018 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000369/0.2589, allocations: 143.1 kB / 1.018 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.259, allocations: 111.4 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.259, allocations: 0 / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.29, allocations: 9.877 MB / 1.028 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/1.29, allocations: 222.1 kB / 1.028 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.697, allocations: 0 / 1.028 GB, free: 8.414 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)