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.617/1.617, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001146/0.001146, allocations: 181.9 kB / 371.8 MB, free: 10.28 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.537/1.537, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008316/0.0008312, allocations: 86.86 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004406, allocations: 10.38 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2052, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003373/0.2086, allocations: 3.55 MB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002478/0.2111, allocations: 2.047 MB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.2113, allocations: 15.88 kB / 0.985 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.2115, allocations: 59.59 kB / 0.985 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.212, allocations: 191.4 kB / 0.9852 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.2126, allocations: 273.3 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002865/0.2129, allocations: 319.3 kB / 0.9858 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.2137, allocations: 0.5971 MB / 0.9864 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001595/0.2138, allocations: 159.4 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.2141, allocations: 179.3 kB / 0.9867 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.2142, allocations: 16 kB / 0.9867 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.2144, allocations: 143.8 kB / 0.9868 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2145, allocations: 143.7 kB / 0.987 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.238e-05/0.2146, allocations: 97.45 kB / 0.9871 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003441/0.2149, allocations: 482.7 kB / 0.9875 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.2149, allocations: 4 kB / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2149, allocations: 0 / 0.9875 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2149, allocations: 7.938 kB / 0.9875 GB, free: 19.34 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.0008149/0.2158, allocations: 0.6316 MB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2158, allocations: 16.02 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.013e-05/0.2159, allocations: 82.52 kB / 0.9882 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/0.2168, allocations: 147.3 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.2172, allocations: 315.2 kB / 0.9887 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.2172, allocations: 32.98 kB / 0.9887 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.903e-05/0.2172, allocations: 32 kB / 0.9887 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.2179, allocations: 0.6182 MB / 0.9893 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.218, allocations: 4 kB / 0.9893 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.218, allocations: 15.98 kB / 0.9894 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/0.2181, allocations: 44.62 kB / 0.9894 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.2187, allocations: 482 kB / 0.9899 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.2216, allocations: 3.42 MB / 0.9932 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.2222, allocations: 379.2 kB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.2222, allocations: 3.984 kB / 0.9936 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2222, allocations: 42.5 kB / 0.9936 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.505e-06/0.2223, allocations: 3.938 kB / 0.9936 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.00413/0.2264, allocations: 1.456 MB / 0.995 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2264, allocations: 81.11 kB / 0.9951 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.2267, allocations: 328.4 kB / 0.9954 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.2267, allocations: 33.7 kB / 0.9955 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2268, allocations: 251.3 kB / 0.9957 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.2269, allocations: 102.7 kB / 0.9958 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/0.2269, allocations: 4 kB / 0.9958 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.227, allocations: 346.8 kB / 0.9961 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.2272, allocations: 173 kB / 0.9963 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.2275, allocations: 338.1 kB / 0.9966 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.2278, allocations: 227.8 kB / 0.9968 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2278, allocations: 4 kB / 0.9968 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001933/0.2297, allocations: 0.9046 MB / 0.9977 GB, free: 8.227 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003615/0.2301, allocations: 2.094 MB / 0.9998 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2301, allocations: 11.98 kB / 0.9998 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.2321, allocations: 0.4971 MB / 1 GB, free: 5.453 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.2325, allocations: 95.81 kB / 1 GB, free: 5.359 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/0.2369, allocations: 3.871 MB / 1.004 GB, free: 1.223 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.2372, allocations: 39.81 kB / 1.004 GB, free: 1.184 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.2373, allocations: 27.98 kB / 1.004 GB, free: 1.156 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.2373, allocations: 4 kB / 1.004 GB, free: 1.152 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005632/0.2379, allocations: 471.3 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2379, allocations: 8 kB / 1.005 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.2379, allocations: 8 kB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.2383, allocations: 111.8 kB / 1.005 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2383, allocations: 11.98 kB / 1.005 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.2385, allocations: 28.55 kB / 1.005 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.2386, allocations: 31.98 kB / 1.005 GB, free: 0.4961 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.0001987/0.2388, allocations: 267.6 kB / 1.005 GB, free: 232 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.2388, allocations: 31.62 kB / 1.005 GB, free: 200 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.2405, allocations: 0.6811 MB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2405, allocations: 0 / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2405, allocations: 8 kB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2405, allocations: 3.953 kB / 1.006 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.2415, allocations: 0.6559 MB / 1.006 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2415, allocations: 0 / 1.006 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.2417, allocations: 51.89 kB / 1.006 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.2432, allocations: 405.3 kB / 1.007 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.2432, allocations: 11.95 kB / 1.007 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/0.2472, allocations: 3.545 MB / 1.01 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2472, allocations: 0 / 1.01 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.2489, allocations: 0.8633 MB / 1.011 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.2491, allocations: 144.6 kB / 1.011 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.2492, allocations: 4 kB / 1.011 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.2495, allocations: 39.94 kB / 1.011 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.2496, allocations: 27.91 kB / 1.011 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.2496, allocations: 8 kB / 1.011 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002667/0.2499, allocations: 227 kB / 1.012 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2499, allocations: 0 / 1.012 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009466/0.2509, allocations: 192 kB / 1.012 GB, free: 8.93 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.002303/0.2532, allocations: 1.645 MB / 1.013 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.2549, allocations: 0.9606 MB / 1.014 GB, free: 6.25 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2549, allocations: 4.25 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007136/0.2557, allocations: 469.2 kB / 1.015 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.2561, allocations: 70.88 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/0.2619, allocations: 6.128 MB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/0.2624, allocations: 0.8623 MB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004206/0.2628, allocations: 135.1 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.263, allocations: 111.4 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/0.263, allocations: 4 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.2875, allocations: 9.855 MB / 1.032 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/0.2878, allocations: 230.6 kB / 1.032 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/2.37, allocations: 0 / 1.032 GB, free: 4.383 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)