Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 115.9 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.944/2.944, allocations: 0.5003 GB / 0.8026 GB, free: 6.762 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003368/0.003368, allocations: 75.89 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8891/0.8925, allocations: 178.9 MB / 1.34 GB, free: 16.26 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01867/0.9112, allocations: 17.56 MB / 1.357 GB, free: 4.648 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009945/0.9211, allocations: 5.95 MB / 1.363 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.9239, allocations: 61.12 kB / 1.363 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.9277, allocations: 1.323 MB / 1.364 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.9307, allocations: 0.8456 MB / 1.365 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004263/0.935, allocations: 1.343 MB / 1.367 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005858/0.9408, allocations: 4.291 MB / 1.371 GB, free: 12.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008895/0.9497, allocations: 4.947 MB / 1.376 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.9541, allocations: 1.95 MB / 1.377 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005225/0.9594, allocations: 2.412 MB / 1.38 GB, free: 8.992 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.9612, allocations: 445.6 kB / 1.38 GB, free: 8.992 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.9645, allocations: 0.8676 MB / 1.381 GB, free: 8.832 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003817/0.9683, allocations: 1.768 MB / 1.383 GB, free: 8.086 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0055/0.9738, allocations: 1.761 MB / 1.385 GB, free: 6.938 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.9857, allocations: 6.391 MB / 1.391 GB, free: 4.973 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.9857, allocations: 0 / 1.391 GB, free: 4.973 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9857, allocations: 1.312 kB / 1.391 GB, free: 4.973 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002294/0.9859, allocations: 0 / 1.391 GB, free: 4.973 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01336/0.9993, allocations: 3.137 MB / 1.394 GB, free: 3.191 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.9993, allocations: 9.875 kB / 1.394 GB, free: 3.191 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001558/0.9995, allocations: 79.7 kB / 1.394 GB, free: 3.184 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001735/1.001, allocations: 466 kB / 1.394 GB, free: 2.898 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00656/1.008, allocations: 1.136 MB / 1.396 GB, free: 2.324 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004731/1.013, allocations: 1.64 MB / 1.397 GB, free: 1.285 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/1.013, allocations: 223.7 kB / 1.397 GB, free: 1.184 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/1.014, allocations: 290.2 kB / 1.398 GB, free: 1.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/1.026, allocations: 5.302 MB / 1.403 GB, free: 14.03 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-05/1.026, allocations: 9.047 kB / 1.403 GB, free: 14.02 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000451/1.026, allocations: 122.7 kB / 1.403 GB, free: 13.93 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003148/1.027, allocations: 205.7 kB / 1.403 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009316/1.036, allocations: 4.755 MB / 1.408 GB, free: 11.47 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03306/1.069, allocations: 23.04 MB / 1.43 GB, free: 6.961 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/1.074, allocations: 3.109 MB / 1.433 GB, free: 4.617 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/1.075, allocations: 0.8778 MB / 1.434 GB, free: 4.137 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.076, allocations: 108.2 kB / 1.434 GB, free: 4.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.076, allocations: 52.11 kB / 1.434 GB, free: 3.969 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.736e-06/1.076, allocations: 4 kB / 1.434 GB, free: 3.965 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003645/1.079, allocations: 2.077 MB / 1.436 GB, free: 2.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/1.079, allocations: 216.6 kB / 1.437 GB, free: 2.637 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/1.081, allocations: 1.103 MB / 1.438 GB, free: 1.922 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/1.081, allocations: 45.64 kB / 1.438 GB, free: 1.871 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009955/1.082, allocations: 1.329 MB / 1.439 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/1.083, allocations: 317.4 kB / 1.439 GB, free: 220 kB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005952/1.083, allocations: 355.3 kB / 1.44 GB, free: 15.86 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.083, allocations: 337.9 kB / 1.44 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.085, allocations: 0.8947 MB / 1.441 GB, free: 14.62 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/1.087, allocations: 1.515 MB / 1.442 GB, free: 12.83 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003151/1.09, allocations: 2.354 MB / 1.445 GB, free: 10.21 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/1.09, allocations: 8 kB / 1.445 GB, free: 10.2 MB / 1.123 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004268/1.094, allocations: 2.497 MB / 1.447 GB, free: 7.699 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/1.094, allocations: 18.19 kB / 1.447 GB, free: 7.684 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/1.094, allocations: 16 kB / 1.447 GB, free: 7.668 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.293e-05/1.094, allocations: 31.94 kB / 1.447 GB, free: 7.637 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/1.096, allocations: 467.2 kB / 1.448 GB, free: 7.18 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.926e-05/1.096, allocations: 47.78 kB / 1.448 GB, free: 7.133 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.097, allocations: 346.4 kB / 1.448 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/1.098, allocations: 79.97 kB / 1.448 GB, free: 6.715 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0033/1.101, allocations: 1.901 MB / 1.45 GB, free: 4.809 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001883/1.103, allocations: 1.442 MB / 1.451 GB, free: 3.086 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003094/1.106, allocations: 2.194 MB / 1.453 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.357e-05/1.106, allocations: 12 kB / 1.453 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003946/1.11, allocations: 2.328 MB / 1.456 GB, free: 14.27 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/1.11, allocations: 16.94 kB / 1.456 GB, free: 14.26 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.11, allocations: 20 kB / 1.456 GB, free: 14.24 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.11, allocations: 31.94 kB / 1.456 GB, free: 14.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.111, allocations: 435.3 kB / 1.456 GB, free: 13.78 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-05/1.112, allocations: 39.86 kB / 1.456 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/1.113, allocations: 290.8 kB / 1.456 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/1.113, allocations: 79.98 kB / 1.457 GB, free: 13.38 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004057/1.114, allocations: 283.6 kB / 1.457 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.114, allocations: 107.3 kB / 1.457 GB, free: 12.99 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002638/1.117, allocations: 1.56 MB / 1.458 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.117, allocations: 8 kB / 1.458 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.117, allocations: 7.938 kB / 1.458 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/1.117, allocations: 7.922 kB / 1.458 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007345/1.124, allocations: 4.47 MB / 1.463 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.124, allocations: 0 / 1.463 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001011/1.125, allocations: 255.5 kB / 1.463 GB, free: 6.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/1.125, allocations: 7.984 kB / 1.463 GB, free: 6.543 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.505e-05/1.125, allocations: 16 kB / 1.463 GB, free: 6.527 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/1.125, allocations: 4 kB / 1.463 GB, free: 6.523 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.125, allocations: 7.938 kB / 1.463 GB, free: 6.516 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/1.127, allocations: 1.917 MB / 1.465 GB, free: 4.574 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/1.128, allocations: 320.2 kB / 1.465 GB, free: 4.242 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.128, allocations: 23.95 kB / 1.465 GB, free: 4.219 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008969/1.129, allocations: 123.8 kB / 1.465 GB, free: 4.098 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.129, allocations: 52.52 kB / 1.465 GB, free: 4.047 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/1.129, allocations: 28 kB / 1.465 GB, free: 4.02 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001123/1.13, allocations: 0.7956 MB / 1.466 GB, free: 3.227 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.13, allocations: 0 / 1.466 GB, free: 3.227 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003446/1.134, allocations: 1.319 MB / 1.468 GB, free: 1.902 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002713/1.137, allocations: 2.484 MB / 1.47 GB, free: 15.39 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004646/1.141, allocations: 2.831 MB / 1.473 GB, free: 12.57 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.141, allocations: 384 / 1.473 GB, free: 12.57 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009578/1.142, allocations: 0.632 MB / 1.473 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/1.144, allocations: 201.4 kB / 1.474 GB, free: 11.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02506/1.169, allocations: 15.25 MB / 1.488 GB, free: 11.82 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.171, allocations: 2.21 MB / 1.491 GB, free: 9.574 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002482/1.174, allocations: 1.101 MB / 1.492 GB, free: 8.469 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/1.175, allocations: 0.839 MB / 1.492 GB, free: 7.629 MB / 1.17 GB Notification: Performance of SimCode: time 1.052e-06/1.175, allocations: 0 / 1.492 GB, free: 7.629 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06343/1.239, allocations: 32.29 MB / 1.524 GB, free: 7.637 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.41, allocations: 18.36 kB / 1.524 GB, free: 7.621 MB / 1.201 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 17.88529201899655] Failed to read output from testmodel.py, exit status != 0: 11.554102051944938 11.573990282 10.583846175 Calling exit ...