Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.001283/0.001283, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001456/0.001456, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",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.002019/0.002019, allocations: 70.27 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2853, allocations: 170 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.006784/0.2921, allocations: 4.382 MB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.2973, allocations: 2.918 MB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.2977, allocations: 15.88 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.299, allocations: 385.1 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3001, allocations: 414.2 kB / 1.291 GB, free: 3.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3014, allocations: 0.5145 MB / 1.292 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001079/0.3025, allocations: 0.7438 MB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005871/0.3031, allocations: 302.7 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.3036, allocations: 303 kB / 1.293 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.3044, allocations: 382.7 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.972e-05/0.3045, allocations: 40 kB / 1.293 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.3051, allocations: 355.2 kB / 1.294 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.3054, allocations: 203.4 kB / 1.294 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.3058, allocations: 266.6 kB / 1.294 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.3069, allocations: 0.7705 MB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3069, allocations: 3.938 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3069, allocations: 4 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.322e-05/0.307, allocations: 0 / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001826/0.3088, allocations: 0.7775 MB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3088, allocations: 8.031 kB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.309, allocations: 98.62 kB / 1.296 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.3103, allocations: 196.3 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006469/0.311, allocations: 313.1 kB / 1.296 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.311, allocations: 33.36 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.3111, allocations: 48.31 kB / 1.296 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.3126, allocations: 0.8719 MB / 1.297 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3126, allocations: 8 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.3127, allocations: 16 kB / 1.297 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.3128, allocations: 68.55 kB / 1.297 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.3142, allocations: 0.6692 MB / 1.298 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.3192, allocations: 4.691 MB / 1.303 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.3204, allocations: 497.4 kB / 1.303 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.3209, allocations: 257.5 kB / 1.303 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.321, allocations: 4 kB / 1.303 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.321, allocations: 38.56 kB / 1.303 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.714e-06/0.321, allocations: 0 / 1.303 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.002007/0.323, allocations: 0.8947 MB / 1.304 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.3231, allocations: 81.11 kB / 1.304 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.3235, allocations: 369.5 kB / 1.305 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.3236, allocations: 37.7 kB / 1.305 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.3238, allocations: 295.9 kB / 1.305 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3239, allocations: 126.9 kB / 1.305 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3241, allocations: 122.2 kB / 1.305 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3242, allocations: 350.7 kB / 1.306 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.3249, allocations: 295.3 kB / 1.306 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007851/0.3256, allocations: 0.5072 MB / 1.306 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.327, allocations: 0.8241 MB / 1.307 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.327, allocations: 7.938 kB / 1.307 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001655/0.3287, allocations: 0.8376 MB / 1.308 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.3287, allocations: 13.81 kB / 1.308 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3287, allocations: 4 kB / 1.308 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.3287, allocations: 15.98 kB / 1.308 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.3296, allocations: 176.2 kB / 1.308 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.3296, allocations: 12 kB / 1.308 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006536/0.3302, allocations: 87.75 kB / 1.308 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.3303, allocations: 27.98 kB / 1.308 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007126/0.331, allocations: 397.1 kB / 1.309 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000681/0.3317, allocations: 459.5 kB / 1.309 GB, free: 420 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001214/0.3329, allocations: 0.7137 MB / 1.31 GB, free: 15.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.859e-06/0.3329, allocations: 0 / 1.31 GB, free: 15.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001476/0.3344, allocations: 0.7426 MB / 1.311 GB, free: 14.85 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3344, allocations: 11.98 kB / 1.311 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3344, allocations: 8.875 kB / 1.311 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3344, allocations: 12 kB / 1.311 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.3353, allocations: 171.7 kB / 1.311 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/0.3353, allocations: 19.91 kB / 1.311 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/0.3358, allocations: 63.83 kB / 1.311 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.3359, allocations: 27.98 kB / 1.311 GB, free: 14.54 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0002115/0.3361, allocations: 231.9 kB / 1.311 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3362, allocations: 43.72 kB / 1.311 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.3374, allocations: 0.5717 MB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.3374, allocations: 4 kB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3374, allocations: 4 kB / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3374, allocations: 0 / 1.312 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.3401, allocations: 1.582 MB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3401, allocations: 8.031 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/0.3406, allocations: 107.8 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.3407, allocations: 4 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.3407, allocations: 15.94 kB / 1.313 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.3407, allocations: 7.984 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.3407, allocations: 4 kB / 1.313 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.3418, allocations: 0.7842 MB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.342, allocations: 91.59 kB / 1.314 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.621e-05/0.3421, allocations: 23.88 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.3426, allocations: 51.92 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.3427, allocations: 35.83 kB / 1.314 GB, free: 10.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.082e-05/0.3427, allocations: 16 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003704/0.3431, allocations: 275.1 kB / 1.315 GB, free: 10.52 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.3431, allocations: 0 / 1.315 GB, free: 10.52 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008569/0.3439, allocations: 200 kB / 1.315 GB, free: 10.33 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.001448/0.3454, allocations: 1.348 MB / 1.316 GB, free: 8.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.3473, allocations: 0.9398 MB / 1.317 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3473, allocations: 0 / 1.317 GB, free: 7.973 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.3478, allocations: 263.6 kB / 1.317 GB, free: 7.715 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.3486, allocations: 115.9 kB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/0.3561, allocations: 4.962 MB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.3566, allocations: 0.8709 MB / 1.323 GB, free: 1.387 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005981/0.3572, allocations: 208 kB / 1.323 GB, free: 1.18 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.3575, allocations: 143.4 kB / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/0.3575, allocations: 0 / 1.323 GB, free: 1.039 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.3991, allocations: 11.5 MB / 1.335 GB, free: 5.734 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 8.516 kB / 1.335 GB, free: 5.73 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.291765182977542] Failed to read output from testmodel.py, exit status != 0: 12.462395917857066 11.98481848 11.674697834 Calling exit ...