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.854/1.854, allocations: 288.4 MB / 303.3 MB, free: 8.098 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.001076/0.001076, allocations: 191.1 kB / 372 MB, free: 10.26 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.741/1.741, allocations: 205.4 MB / 0.6307 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.00112/0.00112, allocations: 101.1 kB / 0.7441 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003932, allocations: 11.38 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.003829/0.2085, allocations: 3.635 MB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002905/0.2115, allocations: 2.078 MB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.2118, allocations: 11.94 kB / 0.9852 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002603/0.2121, allocations: 63.48 kB / 0.9853 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006157/0.2127, allocations: 215 kB / 0.9855 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007923/0.2135, allocations: 281.2 kB / 0.9858 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006125/0.2141, allocations: 0.6464 MB / 0.9864 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009409/0.2151, allocations: 0.5816 MB / 0.987 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000368/0.2155, allocations: 187.3 kB / 0.9872 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.2159, allocations: 263.1 kB / 0.9874 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.561e-05/0.216, allocations: 20 kB / 0.9874 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.2164, allocations: 143.8 kB / 0.9876 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.2165, allocations: 155.5 kB / 0.9877 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.2166, allocations: 93.52 kB / 0.9878 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.217, allocations: 494.7 kB / 0.9883 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2171, allocations: 0 / 0.9883 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2171, allocations: 0 / 0.9883 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.533e-05/0.2171, allocations: 0 / 0.9883 GB, free: 18.69 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.001029/0.2181, allocations: 0.6355 MB / 0.9889 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2182, allocations: 16.02 kB / 0.9889 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.2183, allocations: 86.5 kB / 0.989 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000947/0.2192, allocations: 139.3 kB / 0.9891 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.2196, allocations: 315.2 kB / 0.9894 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2196, allocations: 29 kB / 0.9894 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/0.2197, allocations: 47.92 kB / 0.9895 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.2205, allocations: 0.6182 MB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.2205, allocations: 3.938 kB / 0.9901 GB, free: 16.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.2206, allocations: 20 kB / 0.9901 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/0.2207, allocations: 36.64 kB / 0.9902 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006287/0.2213, allocations: 478.1 kB / 0.9906 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.224, allocations: 3.421 MB / 0.9939 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.2246, allocations: 372.9 kB / 0.9943 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2248, allocations: 177.6 kB / 0.9945 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.2249, allocations: 4.406 kB / 0.9945 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2249, allocations: 38.56 kB / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/0.2249, allocations: 0 / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.004319/0.2292, allocations: 1.465 MB / 0.9959 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.2293, allocations: 81.11 kB / 0.996 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.2296, allocations: 324.4 kB / 0.9963 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2296, allocations: 37.7 kB / 0.9964 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.2298, allocations: 259.3 kB / 0.9966 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.598e-05/0.2298, allocations: 90.75 kB / 0.9967 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.2298, allocations: 4 kB / 0.9967 GB, free: 9.473 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.2299, allocations: 342.8 kB / 0.997 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.2302, allocations: 173 kB / 0.9972 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.2306, allocations: 342 kB / 0.9975 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003648/0.2309, allocations: 231.8 kB / 0.9977 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2309, allocations: 0 / 0.9977 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002568/0.2335, allocations: 0.9085 MB / 0.9986 GB, free: 7.402 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001754/0.2337, allocations: 244.7 kB / 0.9989 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.2337, allocations: 8 kB / 0.9989 GB, free: 7.078 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.236, allocations: 0.5088 MB / 0.9994 GB, free: 6.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.2363, allocations: 91.88 kB / 0.9995 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004565/0.2409, allocations: 3.782 MB / 1.003 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.2413, allocations: 43.86 kB / 1.003 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.2414, allocations: 24 kB / 1.003 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/0.2414, allocations: 5.875 kB / 1.003 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006557/0.2421, allocations: 471.7 kB / 1.004 GB, free: 1.891 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2421, allocations: 8 kB / 1.004 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.2421, allocations: 11.95 kB / 1.004 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.2425, allocations: 111.8 kB / 1.004 GB, free: 1.762 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.2425, allocations: 15.88 kB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2428, allocations: 27.91 kB / 1.004 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2428, allocations: 24 kB / 1.004 GB, free: 1.695 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.0002276/0.243, allocations: 269.3 kB / 1.004 GB, free: 1.422 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.2431, allocations: 35.56 kB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.2446, allocations: 0.6703 MB / 1.005 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2447, allocations: 4 kB / 1.005 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2447, allocations: 7.953 kB / 1.005 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.2447, allocations: 3.984 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.2455, allocations: 0.6481 MB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.2455, allocations: 0 / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2457, allocations: 43.97 kB / 1.005 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.2473, allocations: 413.4 kB / 1.006 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2473, allocations: 11.95 kB / 1.006 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004206/0.2515, allocations: 3.474 MB / 1.009 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2515, allocations: 0 / 1.009 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.2533, allocations: 0.8265 MB / 1.01 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.2536, allocations: 140.6 kB / 1.01 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.122e-05/0.2537, allocations: 15.94 kB / 1.01 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.2541, allocations: 35.94 kB / 1.01 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.2542, allocations: 23.97 kB / 1.01 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.2542, allocations: 8 kB / 1.01 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002826/0.2545, allocations: 223.1 kB / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2545, allocations: 0 / 1.011 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008914/0.2554, allocations: 196 kB / 1.011 GB, free: 10.26 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.002222/0.2576, allocations: 1.413 MB / 1.012 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001806/0.2594, allocations: 0.9526 MB / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2595, allocations: 0 / 1.013 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00074/0.2602, allocations: 473.9 kB / 1.013 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.2608, allocations: 78.62 kB / 1.014 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/0.2656, allocations: 2.664 MB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.2661, allocations: 0.847 MB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004463/0.2666, allocations: 139.1 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.2667, allocations: 111.4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.2668, allocations: 4 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2904, allocations: 9.866 MB / 1.027 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.2907, allocations: 234 kB / 1.027 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.158/2.449, allocations: 7.938 kB / 1.027 GB, free: 9.465 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)