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 2.568/2.568, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001374/0.001373, allocations: 178 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0009276/0.0009275, allocations: 92.78 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005306, allocations: 12.19 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2116, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005454/0.2171, allocations: 3.631 MB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004205/0.2214, allocations: 2.078 MB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003061/0.2217, allocations: 11.94 kB / 0.984 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.222, allocations: 59.5 kB / 0.9841 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007572/0.2228, allocations: 223 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.2239, allocations: 270.1 kB / 0.9846 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.2248, allocations: 0.6503 MB / 0.9852 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.2263, allocations: 0.601 MB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003648/0.2267, allocations: 179.3 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.2272, allocations: 263.1 kB / 0.9862 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/0.2273, allocations: 20 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005246/0.2278, allocations: 147.8 kB / 0.9864 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.228, allocations: 151.6 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2281, allocations: 93.52 kB / 0.9866 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.2288, allocations: 494.6 kB / 0.9871 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2288, allocations: 0 / 0.9871 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2288, allocations: 0 / 0.9871 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2288, allocations: 0 / 0.9871 GB, free: 19.37 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.001323/0.2301, allocations: 0.6433 MB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.2302, allocations: 16.02 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.2303, allocations: 82.48 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.2317, allocations: 135.4 kB / 0.9879 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005845/0.2324, allocations: 315.2 kB / 0.9882 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2324, allocations: 32.98 kB / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.2325, allocations: 36 kB / 0.9883 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.2337, allocations: 0.6143 MB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.2338, allocations: 3.938 kB / 0.9889 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.2338, allocations: 23.98 kB / 0.9889 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.234, allocations: 44.58 kB / 0.989 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.235, allocations: 478.1 kB / 0.9894 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.2393, allocations: 3.417 MB / 0.9928 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.2405, allocations: 372.9 kB / 0.9931 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.2408, allocations: 173.6 kB / 0.9933 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.2409, allocations: 12.39 kB / 0.9933 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2409, allocations: 38.5 kB / 0.9933 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/0.2409, allocations: 0 / 0.9933 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.007685/0.2486, allocations: 1.459 MB / 0.9948 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.2487, allocations: 81.11 kB / 0.9948 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004602/0.2492, allocations: 324.4 kB / 0.9951 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.2493, allocations: 33.7 kB / 0.9952 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.2494, allocations: 263.3 kB / 0.9954 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.2495, allocations: 90.73 kB / 0.9955 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.2496, allocations: 8 kB / 0.9955 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/0.2496, allocations: 338.8 kB / 0.9958 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/0.2501, allocations: 177 kB / 0.996 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.2506, allocations: 338.9 kB / 0.9963 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005226/0.2511, allocations: 235.8 kB / 0.9966 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2511, allocations: 0 / 0.9966 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003831/0.2549, allocations: 0.9042 MB / 0.9974 GB, free: 8.086 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.2551, allocations: 249.1 kB / 0.9977 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.2552, allocations: 8 kB / 0.9977 GB, free: 7.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00399/0.2592, allocations: 0.5049 MB / 0.9982 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.2599, allocations: 99.81 kB / 0.9983 GB, free: 7.148 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008024/0.268, allocations: 3.771 MB / 1.002 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.2687, allocations: 39.81 kB / 1.002 GB, free: 3.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/0.2688, allocations: 32.05 kB / 1.002 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2688, allocations: 5.875 kB / 1.002 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.2698, allocations: 471.8 kB / 1.002 GB, free: 2.574 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2699, allocations: 15.89 kB / 1.002 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.2699, allocations: 8 kB / 1.003 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/0.2707, allocations: 107.9 kB / 1.003 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.2707, allocations: 11.94 kB / 1.003 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004487/0.2711, allocations: 27.92 kB / 1.003 GB, free: 2.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.2712, allocations: 27.98 kB / 1.003 GB, free: 2.379 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.0003376/0.2715, allocations: 266.4 kB / 1.003 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.2717, allocations: 35.61 kB / 1.003 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/0.2744, allocations: 0.6772 MB / 1.004 GB, free: 1.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.2745, allocations: 3.953 kB / 1.004 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2745, allocations: 4 kB / 1.004 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.2745, allocations: 7.984 kB / 1.004 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.2758, allocations: 0.652 MB / 1.004 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2758, allocations: 0 / 1.004 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.2762, allocations: 47.97 kB / 1.004 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.2788, allocations: 409.2 kB / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.2789, allocations: 11.98 kB / 1.005 GB, free: 196 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006418/0.2853, allocations: 3.467 MB / 1.008 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.2854, allocations: 4.031 kB / 1.008 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.2884, allocations: 0.8225 MB / 1.009 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.2887, allocations: 140.6 kB / 1.009 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.2888, allocations: 11.95 kB / 1.009 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.2894, allocations: 35.94 kB / 1.009 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.2895, allocations: 19.97 kB / 1.009 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.2896, allocations: 16 kB / 1.009 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003794/0.29, allocations: 223 kB / 1.009 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.91e-07/0.29, allocations: 0 / 1.009 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001241/0.2913, allocations: 196 kB / 1.01 GB, free: 10.95 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.003823/0.2951, allocations: 1.402 MB / 1.011 GB, free: 9.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.298, allocations: 0.9531 MB / 1.012 GB, free: 8.527 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.298, allocations: 3.938 kB / 1.012 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.2993, allocations: 473.1 kB / 1.012 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.3003, allocations: 83.77 kB / 1.012 GB, free: 7.957 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.3105, allocations: 2.651 MB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008357/0.3114, allocations: 0.8431 MB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001094/0.3125, allocations: 139.1 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.313, allocations: 119.4 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/0.313, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05483/0.3679, allocations: 9.883 MB / 1.026 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/0.3683, allocations: 217.7 kB / 1.026 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/3.259, allocations: 0 / 1.026 GB, free: 10.16 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)