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.431/1.431, allocations: 249.5 MB / 257 MB, free: 6.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 187.3 kB / 316.3 MB, free: 3.234 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.519/1.519, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008494/0.0008493, allocations: 92.19 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.607e-05/2.607e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7227/0.931, allocations: 163.2 MB / 1.045 GB, free: 8.055 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.9313, allocations: 101.4 kB / 1.045 GB, free: 8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05755/0.9889, allocations: 23.33 MB / 1.068 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.663e-06/0.989, allocations: 7.938 kB / 1.068 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.169e-05/0.989, allocations: 12 kB / 1.068 GB, free: 4.566 MB / 0.6823 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.001172/0.9902, allocations: 0.6346 MB / 1.068 GB, free: 3.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9902, allocations: 12.03 kB / 1.068 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9913, allocations: 143.3 kB / 1.068 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005422/0.9919, allocations: 327.5 kB / 1.069 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.9919, allocations: 12 kB / 1.069 GB, free: 3.414 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.992, allocations: 20 kB / 1.069 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006301/0.9926, allocations: 388.2 kB / 1.069 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007923/0.9934, allocations: 0.5445 MB / 1.07 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.9935, allocations: 7.844 kB / 1.07 GB, free: 2.656 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.9935, allocations: 4 kB / 1.07 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.9936, allocations: 28.77 kB / 1.07 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003356/0.997, allocations: 3.352 MB / 1.073 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.9976, allocations: 353.4 kB / 1.073 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.9978, allocations: 170.6 kB / 1.073 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.9978, allocations: 7.969 kB / 1.073 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.9979, allocations: 38.19 kB / 1.073 GB, free: 14.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/0.9979, allocations: 0 / 1.073 GB, free: 14.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.00168/0.9996, allocations: 0.6508 MB / 1.074 GB, free: 14.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.9996, allocations: 81.11 kB / 1.074 GB, free: 14.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.9999, allocations: 266.2 kB / 1.074 GB, free: 14.02 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.9999, allocations: 25.7 kB / 1.074 GB, free: 13.99 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/1, allocations: 260.5 kB / 1.075 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/1, allocations: 93.34 kB / 1.075 GB, free: 13.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/1, allocations: 0 / 1.075 GB, free: 13.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1, allocations: 336.8 kB / 1.075 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.001, allocations: 165.1 kB / 1.075 GB, free: 13.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.001, allocations: 320.8 kB / 1.076 GB, free: 12.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/1.001, allocations: 250.8 kB / 1.076 GB, free: 12.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.001, allocations: 0 / 1.076 GB, free: 12.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001584/1.003, allocations: 0.7274 MB / 1.077 GB, free: 12.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008125/1.004, allocations: 2.091 MB / 1.079 GB, free: 9.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.004, allocations: 4 kB / 1.079 GB, free: 9.934 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/1.005, allocations: 244.5 kB / 1.079 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/1.005, allocations: 95.75 kB / 1.079 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/1.006, allocations: 1.268 MB / 1.08 GB, free: 8.359 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/1.007, allocations: 35.8 kB / 1.08 GB, free: 8.324 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/1.007, allocations: 19.5 kB / 1.08 GB, free: 8.309 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/1.007, allocations: 7.938 kB / 1.08 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007179/1.008, allocations: 447.6 kB / 1.081 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/1.008, allocations: 7.953 kB / 1.081 GB, free: 7.961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/1.008, allocations: 8 kB / 1.081 GB, free: 7.953 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/1.008, allocations: 112.4 kB / 1.081 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.008, allocations: 8 kB / 1.081 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/1.008, allocations: 27.83 kB / 1.081 GB, free: 7.812 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/1.008, allocations: 27.3 kB / 1.081 GB, free: 7.789 MB / 0.698 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 () * 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.000131/1.008, allocations: 116.8 kB / 1.081 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00156/1.01, allocations: 0.6233 MB / 1.082 GB, free: 7.133 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.705e-05/1.01, allocations: 35.58 kB / 1.082 GB, free: 7.098 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.012, allocations: 0.6558 MB / 1.082 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/1.012, allocations: 7.953 kB / 1.082 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.012, allocations: 0 / 1.082 GB, free: 6.547 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.012, allocations: 3.984 kB / 1.082 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008416/1.013, allocations: 0.5836 MB / 1.083 GB, free: 6.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.013, allocations: 3.938 kB / 1.083 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/1.013, allocations: 47.95 kB / 1.083 GB, free: 5.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/1.014, allocations: 406.6 kB / 1.083 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/1.014, allocations: 0 / 1.083 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003565/1.018, allocations: 3.342 MB / 1.087 GB, free: 2.285 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.018, allocations: 7.969 kB / 1.087 GB, free: 2.277 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001692/1.02, allocations: 0.8516 MB / 1.087 GB, free: 1.488 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/1.02, allocations: 143.9 kB / 1.087 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/1.02, allocations: 0 / 1.087 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/1.02, allocations: 31.94 kB / 1.088 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/1.02, allocations: 23.72 kB / 1.088 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/1.02, allocations: 8 kB / 1.088 GB, free: 1.281 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002001/1.02, allocations: 205.2 kB / 1.088 GB, free: 1.117 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.021, allocations: 0 / 1.088 GB, free: 1.117 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007953/1.021, allocations: 172.1 kB / 1.088 GB, free: 0.9492 MB / 0.698 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 () * 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.00221/1.024, allocations: 1.643 MB / 1.09 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.025, allocations: 0.6721 MB / 1.09 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.025, allocations: 1.125 kB / 1.09 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006669/1.025, allocations: 462.6 kB / 1.091 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/1.026, allocations: 58.45 kB / 1.091 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/1.027, allocations: 0.6152 MB / 1.091 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/1.028, allocations: 0.8526 MB / 1.092 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004256/1.028, allocations: 151.2 kB / 1.092 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/1.028, allocations: 117.4 kB / 1.092 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of SimCode: time 1.823e-06/1.028, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/1.058, allocations: 8.45 MB / 1.101 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/1.058, allocations: 152.9 kB / 1.101 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/3.13, allocations: 7.125 kB / 1.101 GB, free: 4.18 MB / 0.7136 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)