Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001406/0.001406, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001608/0.001608, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.431/1.431, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.839/2.839, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_12_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.001975/0.001975, allocations: 67.89 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8668/0.8688, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01827/0.887, allocations: 17.55 MB / 1.339 GB, free: 13.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009584/0.8966, allocations: 5.953 MB / 1.344 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.8984, allocations: 60.66 kB / 1.344 GB, free: 9.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.9017, allocations: 1.318 MB / 1.346 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.9041, allocations: 0.8464 MB / 1.347 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00338/0.9075, allocations: 1.338 MB / 1.348 GB, free: 7.102 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004943/0.9124, allocations: 4.294 MB / 1.352 GB, free: 5.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006105/0.9185, allocations: 4.945 MB / 1.357 GB, free: 3.348 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003695/0.9222, allocations: 1.949 MB / 1.359 GB, free: 2.473 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004848/0.9271, allocations: 2.421 MB / 1.361 GB, free: 1.484 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.9286, allocations: 445.1 kB / 1.362 GB, free: 1.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.931, allocations: 0.8639 MB / 1.362 GB, free: 1.328 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.9337, allocations: 1.769 MB / 1.364 GB, free: 0.582 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.9372, allocations: 1.753 MB / 1.366 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009663/0.9469, allocations: 6.402 MB / 1.372 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.9469, allocations: 5.281 kB / 1.372 GB, free: 13.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.9469, allocations: 0 / 1.372 GB, free: 13.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001832/0.9471, allocations: 0 / 1.372 GB, free: 13.46 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.01025/0.9573, allocations: 3.134 MB / 1.375 GB, free: 11.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.9574, allocations: 13.45 kB / 1.375 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001322/0.9575, allocations: 79.56 kB / 1.375 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001337/0.9588, allocations: 466.3 kB / 1.376 GB, free: 11.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.9647, allocations: 1.133 MB / 1.377 GB, free: 11.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/0.9701, allocations: 1.634 MB / 1.378 GB, free: 10.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.9704, allocations: 228 kB / 1.379 GB, free: 10.23 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.9718, allocations: 290.7 kB / 1.379 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.987, allocations: 5.308 MB / 1.384 GB, free: 8.203 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.468e-05/0.9871, allocations: 4.938 kB / 1.384 GB, free: 8.199 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005097/0.9876, allocations: 127.1 kB / 1.384 GB, free: 8.102 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002699/0.9878, allocations: 203.2 kB / 1.384 GB, free: 8.078 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.9991, allocations: 4.759 MB / 1.389 GB, free: 6.547 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03352/1.033, allocations: 23.04 MB / 1.412 GB, free: 2.961 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005272/1.038, allocations: 3.113 MB / 1.415 GB, free: 0.6094 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/1.039, allocations: 0.8683 MB / 1.415 GB, free: 140 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/1.04, allocations: 99.58 kB / 1.416 GB, free: 36 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.281e-05/1.04, allocations: 52.8 kB / 1.416 GB, free: 15.98 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/1.04, allocations: 0 / 1.416 GB, free: 15.98 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.0036/1.043, allocations: 2.086 MB / 1.418 GB, free: 14.89 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/1.043, allocations: 223.1 kB / 1.418 GB, free: 14.63 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.045, allocations: 1.1 MB / 1.419 GB, free: 14.01 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.045, allocations: 37.73 kB / 1.419 GB, free: 13.97 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/1.046, allocations: 1.334 MB / 1.42 GB, free: 12.79 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/1.047, allocations: 311.7 kB / 1.421 GB, free: 12.53 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006045/1.047, allocations: 359.5 kB / 1.421 GB, free: 12.33 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.048, allocations: 342 kB / 1.421 GB, free: 12 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/1.049, allocations: 0.8905 MB / 1.422 GB, free: 11.54 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/1.051, allocations: 1.516 MB / 1.424 GB, free: 10.25 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003312/1.054, allocations: 2.353 MB / 1.426 GB, free: 8.535 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/1.054, allocations: 5.781 kB / 1.426 GB, free: 8.535 MB / 1.107 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004372/1.059, allocations: 2.494 MB / 1.428 GB, free: 7.258 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.059, allocations: 13.12 kB / 1.428 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/1.059, allocations: 18.75 kB / 1.428 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/1.059, allocations: 28.41 kB / 1.428 GB, free: 7.258 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.06, allocations: 459.9 kB / 1.429 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.884e-05/1.061, allocations: 44.3 kB / 1.429 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/1.063, allocations: 347.4 kB / 1.429 GB, free: 6.906 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/1.063, allocations: 81.58 kB / 1.429 GB, free: 6.887 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003832/1.067, allocations: 1.907 MB / 1.431 GB, free: 5.812 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002045/1.069, allocations: 1.446 MB / 1.433 GB, free: 4.258 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003109/1.072, allocations: 2.198 MB / 1.435 GB, free: 1.785 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/1.072, allocations: 8 kB / 1.435 GB, free: 1.777 MB / 1.107 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004105/1.076, allocations: 2.325 MB / 1.437 GB, free: 15.44 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/1.076, allocations: 16 kB / 1.437 GB, free: 15.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/1.076, allocations: 20.12 kB / 1.437 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.06e-05/1.076, allocations: 32 kB / 1.437 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.078, allocations: 443.2 kB / 1.437 GB, free: 14.94 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.18e-05/1.078, allocations: 39.86 kB / 1.438 GB, free: 14.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.079, allocations: 294.9 kB / 1.438 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/1.079, allocations: 79.98 kB / 1.438 GB, free: 14.54 MB / 1.123 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.0004428/1.08, allocations: 279.6 kB / 1.438 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003258/1.08, allocations: 103.3 kB / 1.438 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/1.083, allocations: 1.568 MB / 1.44 GB, free: 12.56 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.083, allocations: 8 kB / 1.44 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.083, allocations: 3.938 kB / 1.44 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.083, allocations: 7.984 kB / 1.44 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/1.091, allocations: 4.474 MB / 1.444 GB, free: 7.965 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.091, allocations: 7.984 kB / 1.444 GB, free: 7.957 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.092, allocations: 247.6 kB / 1.444 GB, free: 7.715 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/1.092, allocations: 4 kB / 1.444 GB, free: 7.711 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-05/1.092, allocations: 16 kB / 1.444 GB, free: 7.695 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.092, allocations: 4 kB / 1.444 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.092, allocations: 11.88 kB / 1.444 GB, free: 7.68 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/1.095, allocations: 1.913 MB / 1.446 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/1.095, allocations: 324.2 kB / 1.447 GB, free: 5.41 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/1.095, allocations: 16 kB / 1.447 GB, free: 5.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009858/1.096, allocations: 127.8 kB / 1.447 GB, free: 5.27 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/1.097, allocations: 56.47 kB / 1.447 GB, free: 5.211 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/1.097, allocations: 20 kB / 1.447 GB, free: 5.191 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001225/1.098, allocations: 0.7956 MB / 1.448 GB, free: 4.402 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.098, allocations: 0 / 1.448 GB, free: 4.402 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004152/1.102, allocations: 1.323 MB / 1.449 GB, free: 3.074 MB / 1.123 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.003089/1.105, allocations: 2.492 MB / 1.451 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00489/1.11, allocations: 2.826 MB / 1.454 GB, free: 13.74 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.11, allocations: 0 / 1.454 GB, free: 13.74 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.111, allocations: 0.6294 MB / 1.455 GB, free: 13.11 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.113, allocations: 207.4 kB / 1.455 GB, free: 12.91 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/1.14, allocations: 15.24 MB / 1.47 GB, free: 13 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00291/1.142, allocations: 2.206 MB / 1.472 GB, free: 10.76 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.00255/1.145, allocations: 1.097 MB / 1.473 GB, free: 9.656 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/1.146, allocations: 0.8351 MB / 1.474 GB, free: 8.82 MB / 1.154 GB Notification: Performance of SimCode: time 1.473e-06/1.146, allocations: 0 / 1.474 GB, free: 8.82 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06261/1.209, allocations: 32.29 MB / 1.505 GB, free: 8.824 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/11.39, allocations: 21.11 kB / 1.505 GB, free: 8.812 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.531664221023675] Failed to read output from testmodel.py, exit status != 0: 11.52991814102279 11.553010885 10.601479428 Calling exit ...