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.781/2.781, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001608/0.001608, allocations: 178.8 kB / 370.8 MB, free: 10.83 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.284/2.284, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001624/0.001623, allocations: 92.98 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007804/0.0007807, allocations: 11.78 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2429, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.005428/0.2484, allocations: 3.546 MB / 0.9818 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004506/0.253, allocations: 2.059 MB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.2535, allocations: 7.938 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003802/0.2539, allocations: 67.59 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.2552, allocations: 179.4 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.2571, allocations: 276.4 kB / 0.9843 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00116/0.2583, allocations: 319.3 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002387/0.2607, allocations: 0.5932 MB / 0.9852 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.2613, allocations: 159.4 kB / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.2621, allocations: 183.3 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.34e-05/0.2622, allocations: 20 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006515/0.2629, allocations: 143.8 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/0.2632, allocations: 139.7 kB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.2635, allocations: 97.45 kB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.2651, allocations: 486.7 kB / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2652, allocations: 0 / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.328e-06/0.2652, allocations: 0 / 0.9863 GB, free: 20 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.2653, allocations: 0 / 0.9863 GB, free: 20 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.002194/0.2675, allocations: 0.6355 MB / 0.9869 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.2676, allocations: 19.95 kB / 0.987 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.2678, allocations: 86.47 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002646/0.2705, allocations: 147.4 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008131/0.2713, allocations: 319.2 kB / 0.9875 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.2714, allocations: 28.98 kB / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.2715, allocations: 36 kB / 0.9876 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.2734, allocations: 0.6143 MB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.833e-05/0.2735, allocations: 4 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.2736, allocations: 20 kB / 0.9882 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.2738, allocations: 44.58 kB / 0.9882 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.2754, allocations: 474.1 kB / 0.9887 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006818/0.2823, allocations: 3.436 MB / 0.992 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.284, allocations: 369.7 kB / 0.9924 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.2841, allocations: 7.984 kB / 0.9924 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.2841, allocations: 42.5 kB / 0.9924 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 4.238e-06/0.2841, allocations: 4 kB / 0.9924 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.01159/0.2957, allocations: 1.463 MB / 0.9939 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2958, allocations: 81.11 kB / 0.9939 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.2965, allocations: 324.4 kB / 0.9943 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.2966, allocations: 25.7 kB / 0.9943 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.2969, allocations: 259.3 kB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.297, allocations: 90.73 kB / 0.9946 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.2971, allocations: 12 kB / 0.9946 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2972, allocations: 342.8 kB / 0.9949 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.2979, allocations: 177 kB / 0.9951 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.2987, allocations: 338 kB / 0.9954 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008224/0.2995, allocations: 235.8 kB / 0.9957 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/0.2995, allocations: 0 / 0.9957 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.005871/0.3054, allocations: 0.9003 MB / 0.9965 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000598/0.3061, allocations: 2.094 MB / 0.9986 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.3061, allocations: 8 kB / 0.9986 GB, free: 6.605 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005985/0.3121, allocations: 0.4971 MB / 0.9991 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.3133, allocations: 99.81 kB / 0.9992 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.3253, allocations: 3.865 MB / 1.003 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.3263, allocations: 35.81 kB / 1.003 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.3264, allocations: 20 kB / 1.003 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3264, allocations: 4 kB / 1.003 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.3281, allocations: 483.3 kB / 1.003 GB, free: 1.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3281, allocations: 4.719 kB / 1.003 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.3282, allocations: 15.95 kB / 1.003 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.3294, allocations: 115.8 kB / 1.004 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.3294, allocations: 8 kB / 1.004 GB, free: 1.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000666/0.3301, allocations: 27.91 kB / 1.004 GB, free: 1.172 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.3302, allocations: 20 kB / 1.004 GB, free: 1.152 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.0004271/0.3306, allocations: 270.7 kB / 1.004 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.3308, allocations: 31.62 kB / 1.004 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004114/0.3349, allocations: 0.6785 MB / 1.005 GB, free: 164 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.335, allocations: 4 kB / 1.005 GB, free: 160 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.335, allocations: 3.953 kB / 1.005 GB, free: 156 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.335, allocations: 0 / 1.005 GB, free: 156 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002108/0.3371, allocations: 0.656 MB / 1.005 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3372, allocations: 288 / 1.005 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.3378, allocations: 47.84 kB / 1.005 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004112/0.3419, allocations: 417.2 kB / 1.006 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.342, allocations: 7.984 kB / 1.006 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009326/0.3514, allocations: 3.561 MB / 1.009 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3514, allocations: 0 / 1.009 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.3559, allocations: 0.8589 MB / 1.01 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.3563, allocations: 144.6 kB / 1.01 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3564, allocations: 4 kB / 1.01 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009294/0.3574, allocations: 35.94 kB / 1.01 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.3576, allocations: 27.91 kB / 1.01 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.3577, allocations: 12 kB / 1.01 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000562/0.3582, allocations: 231 kB / 1.01 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.51e-07/0.3583, allocations: 0 / 1.01 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001945/0.3602, allocations: 192 kB / 1.011 GB, free: 9.57 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.005542/0.3658, allocations: 1.641 MB / 1.012 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003897/0.3697, allocations: 0.9444 MB / 1.013 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.3698, allocations: 0 / 1.013 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.3715, allocations: 486.3 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/0.3726, allocations: 60.95 kB / 1.014 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.3853, allocations: 6.129 MB / 1.02 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/0.3862, allocations: 0.8509 MB / 1.02 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001064/0.3873, allocations: 139.1 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.3877, allocations: 119.4 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.653e-06/0.3877, allocations: 3.938 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05007/0.4378, allocations: 9.848 MB / 1.03 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/0.4382, allocations: 221.9 kB / 1.031 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.192, allocations: 0 / 1.031 GB, free: 5.047 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)