Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.648/1.648, allocations: 287.4 MB / 302.5 MB, free: 8.219 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.001163/0.001163, allocations: 174.1 kB / 371.1 MB, free: 10.85 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.436/1.436, allocations: 205.4 MB / 0.6298 GB, free: 10.6 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.0007113/0.0007114, allocations: 93.84 kB / 0.7431 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.000404, allocations: 12.23 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2155, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004427/0.22, allocations: 3.635 MB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.2234, allocations: 2.074 MB / 0.9843 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003742/0.2239, allocations: 8 kB / 0.9843 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.2242, allocations: 67.42 kB / 0.9844 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006991/0.225, allocations: 211 kB / 0.9846 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008013/0.2258, allocations: 273.3 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.2264, allocations: 0.6542 MB / 0.9855 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009335/0.2273, allocations: 0.626 MB / 0.9861 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.2276, allocations: 195.3 kB / 0.9863 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.2279, allocations: 251.2 kB / 0.9865 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.228, allocations: 16 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.2283, allocations: 151.8 kB / 0.9867 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.2284, allocations: 151.6 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.2285, allocations: 97.45 kB / 0.9869 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.2288, allocations: 490.7 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2289, allocations: 0 / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2289, allocations: 0 / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.2289, allocations: 0 / 0.9874 GB, free: 19.2 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.00084/0.2297, allocations: 0.6357 MB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2298, allocations: 8.031 kB / 0.988 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.279e-05/0.2299, allocations: 78.72 kB / 0.9881 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.2307, allocations: 136.3 kB / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.2311, allocations: 328.4 kB / 0.9885 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2311, allocations: 25.38 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.2312, allocations: 44.36 kB / 0.9886 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.2319, allocations: 0.6222 MB / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.2319, allocations: 0 / 0.9892 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.2319, allocations: 16 kB / 0.9892 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.095e-05/0.232, allocations: 44.62 kB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005741/0.2326, allocations: 478 kB / 0.9897 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.2351, allocations: 3.424 MB / 0.9931 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.2357, allocations: 375.2 kB / 0.9934 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.2359, allocations: 177.6 kB / 0.9936 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.2359, allocations: 8.391 kB / 0.9936 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.236, allocations: 38.5 kB / 0.9936 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.893e-06/0.236, allocations: 0 / 0.9936 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.00411/0.2401, allocations: 1.466 MB / 0.9951 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2402, allocations: 81.11 kB / 0.9952 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.2404, allocations: 328.4 kB / 0.9955 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.2405, allocations: 29.7 kB / 0.9955 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.2406, allocations: 259.3 kB / 0.9957 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.2406, allocations: 94.73 kB / 0.9958 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.901e-05/0.2406, allocations: 8 kB / 0.9958 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.2407, allocations: 346.8 kB / 0.9962 GB, free: 9.625 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.2409, allocations: 177 kB / 0.9963 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.2412, allocations: 338.9 kB / 0.9967 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.2417, allocations: 0.5275 MB / 0.9972 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2417, allocations: 8 kB / 0.9972 GB, free: 8.441 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001964/0.2436, allocations: 0.9081 MB / 0.9981 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.2437, allocations: 251.7 kB / 0.9983 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2438, allocations: 4 kB / 0.9983 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/0.2459, allocations: 0.501 MB / 0.9988 GB, free: 6.688 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.2462, allocations: 95.81 kB / 0.9989 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/0.2508, allocations: 3.776 MB / 1.003 GB, free: 2.547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.2513, allocations: 39.81 kB / 1.003 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.2513, allocations: 23.98 kB / 1.003 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.2513, allocations: 4 kB / 1.003 GB, free: 2.48 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006749/0.252, allocations: 479.2 kB / 1.003 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.252, allocations: 4 kB / 1.003 GB, free: 2.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.2521, allocations: 8 kB / 1.003 GB, free: 2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.2524, allocations: 112.5 kB / 1.003 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2525, allocations: 8 kB / 1.003 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.2527, allocations: 31.83 kB / 1.003 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2528, allocations: 27.98 kB / 1.003 GB, free: 1.824 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.0002604/0.253, allocations: 274.8 kB / 1.004 GB, free: 1.547 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.2531, allocations: 31.62 kB / 1.004 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.2547, allocations: 0.6773 MB / 1.004 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2547, allocations: 4 kB / 1.004 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2547, allocations: 7.938 kB / 1.004 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.2547, allocations: 3.984 kB / 1.004 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.2556, allocations: 0.6519 MB / 1.005 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2556, allocations: 96 / 1.005 GB, free: 100 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.2558, allocations: 47.97 kB / 1.005 GB, free: 52 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.2574, allocations: 413.2 kB / 1.005 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.2574, allocations: 8 kB / 1.005 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/0.2612, allocations: 3.474 MB / 1.009 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2613, allocations: 8 kB / 1.009 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.263, allocations: 0.8185 MB / 1.01 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.2632, allocations: 140.6 kB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.2633, allocations: 12 kB / 1.01 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.2636, allocations: 35.94 kB / 1.01 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.2637, allocations: 23.97 kB / 1.01 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.2638, allocations: 11.98 kB / 1.01 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002697/0.264, allocations: 227 kB / 1.01 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/0.2641, allocations: 7.938 kB / 1.01 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008485/0.2649, allocations: 192 kB / 1.01 GB, free: 10.38 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.002194/0.2671, allocations: 1.402 MB / 1.012 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.2688, allocations: 0.9515 MB / 1.012 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2689, allocations: 5.938 kB / 1.012 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007175/0.2696, allocations: 481.2 kB / 1.013 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.2702, allocations: 69.03 kB / 1.013 GB, free: 7.391 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/0.2753, allocations: 2.662 MB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.2758, allocations: 0.847 MB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004328/0.2762, allocations: 135.1 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.2764, allocations: 115.4 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/0.2764, allocations: 0 / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.496/0.7724, allocations: 9.83 MB / 1.026 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003189/0.7728, allocations: 219.9 kB / 1.026 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.441, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)