Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.547/1.547, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 186.4 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5775 GB, free: 20.3 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009826/0.0009827, allocations: 103.9 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003445, allocations: 11.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2668, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe): time 0.004069/0.271, allocations: 3.554 MB / 0.9036 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.2738, allocations: 2.059 MB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.274, allocations: 7.938 kB / 0.9056 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.2742, allocations: 67.59 kB / 0.9057 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.2748, allocations: 183.4 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.2755, allocations: 271.4 kB / 0.9061 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.2758, allocations: 319.2 kB / 0.9064 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009733/0.2768, allocations: 0.6047 MB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.277, allocations: 159.4 kB / 0.9072 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.2774, allocations: 179.3 kB / 0.9074 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2774, allocations: 20 kB / 0.9074 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.2777, allocations: 143.8 kB / 0.9075 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2778, allocations: 135.7 kB / 0.9076 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.2779, allocations: 105.5 kB / 0.9077 GB, free: 55.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2783, allocations: 487 kB / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.2783, allocations: 0 / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2783, allocations: 0 / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2783, allocations: 0 / 0.9082 GB, free: 55.51 MB / 0.6042 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.0009628/0.2793, allocations: 0.6315 MB / 0.9088 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2794, allocations: 8.031 kB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.2795, allocations: 86.42 kB / 0.9089 GB, free: 54.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.2804, allocations: 155.3 kB / 0.9091 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.2809, allocations: 315.3 kB / 0.9094 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2809, allocations: 28.98 kB / 0.9094 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.386e-05/0.281, allocations: 36 kB / 0.9094 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/0.2817, allocations: 0.6181 MB / 0.91 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.2817, allocations: 0 / 0.91 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.2818, allocations: 23.98 kB / 0.9101 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/0.2819, allocations: 44.58 kB / 0.9101 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.2825, allocations: 478.1 kB / 0.9106 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.2856, allocations: 3.421 MB / 0.9139 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.2863, allocations: 375 kB / 0.9143 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.2864, allocations: 11.98 kB / 0.9143 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2864, allocations: 38.5 kB / 0.9143 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.814e-06/0.2864, allocations: 0 / 0.9143 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.004242/0.2906, allocations: 1.463 MB / 0.9157 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2907, allocations: 81.11 kB / 0.9158 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.291, allocations: 328.4 kB / 0.9161 GB, free: 46.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.291, allocations: 29.7 kB / 0.9161 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2911, allocations: 255.3 kB / 0.9164 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.2912, allocations: 94.64 kB / 0.9165 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.2912, allocations: 12 kB / 0.9165 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.2913, allocations: 342.8 kB / 0.9168 GB, free: 46.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.2915, allocations: 169 kB / 0.917 GB, free: 45.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.2918, allocations: 342 kB / 0.9173 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.2921, allocations: 227.8 kB / 0.9175 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2921, allocations: 0 / 0.9175 GB, free: 45.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001971/0.2941, allocations: 0.9128 MB / 0.9184 GB, free: 44.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000522/0.2946, allocations: 2.094 MB / 0.9205 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.2946, allocations: 4 kB / 0.9205 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002116/0.2968, allocations: 0.501 MB / 0.921 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.2972, allocations: 95.81 kB / 0.921 GB, free: 41.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004517/0.3017, allocations: 3.858 MB / 0.9248 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.3021, allocations: 44.09 kB / 0.9249 GB, free: 37.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3022, allocations: 19.94 kB / 0.9249 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.3022, allocations: 6.5 kB / 0.9249 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005828/0.3028, allocations: 483.2 kB / 0.9253 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3028, allocations: 4 kB / 0.9253 GB, free: 36.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.503e-06/0.3028, allocations: 11.95 kB / 0.9254 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.3031, allocations: 112.5 kB / 0.9255 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3032, allocations: 11.94 kB / 0.9255 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.3034, allocations: 39.81 kB / 0.9255 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.3034, allocations: 20 kB / 0.9255 GB, free: 36.68 MB / 0.6042 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.00023/0.3037, allocations: 272.9 kB / 0.9258 GB, free: 36.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.3038, allocations: 31.62 kB / 0.9258 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3053, allocations: 0.678 MB / 0.9265 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3053, allocations: 4 kB / 0.9265 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3053, allocations: 3.953 kB / 0.9265 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3053, allocations: 0 / 0.9265 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.3061, allocations: 0.652 MB / 0.9271 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3061, allocations: 0 / 0.9271 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.3063, allocations: 52 kB / 0.9272 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.3076, allocations: 409.1 kB / 0.9276 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3076, allocations: 4 kB / 0.9276 GB, free: 34.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00296/0.3106, allocations: 3.549 MB / 0.931 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3106, allocations: 4.062 kB / 0.931 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.312, allocations: 0.8643 MB / 0.9319 GB, free: 29.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.3122, allocations: 144.6 kB / 0.932 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.3123, allocations: 8 kB / 0.932 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.3126, allocations: 35.94 kB / 0.9321 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/0.3127, allocations: 23.91 kB / 0.9321 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3127, allocations: 11.94 kB / 0.9321 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000206/0.3129, allocations: 235 kB / 0.9323 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3129, allocations: 0 / 0.9323 GB, free: 29.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008547/0.3138, allocations: 192 kB / 0.9325 GB, free: 29.11 MB / 0.6042 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.001812/0.3156, allocations: 1.642 MB / 0.9341 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.3171, allocations: 0.9562 MB / 0.935 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3171, allocations: 0 / 0.935 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.3177, allocations: 473.1 kB / 0.9355 GB, free: 25.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.3181, allocations: 74.27 kB / 0.9356 GB, free: 25.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.3227, allocations: 6.118 MB / 0.9415 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.323, allocations: 0.8585 MB / 0.9424 GB, free: 18.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003943/0.3234, allocations: 135.4 kB / 0.9425 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3236, allocations: 115.4 kB / 0.9426 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of SimCode: time 1.152e-06/0.3236, allocations: 0 / 0.9426 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.3461, allocations: 9.855 MB / 0.9522 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.3463, allocations: 218 kB / 0.9525 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/2.531, allocations: 0 / 0.9525 GB, free: 8.586 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sensors_Examples_Probe.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.Probe.pipe 2>&1)