Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.00125/0.00125, 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.001327/0.001327, 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.889/2.889, allocations: 0.49 GB / 0.7923 GB, free: 1.391 MB / 0.6231 GB " [Timeout remaining time 176] 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.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Loads_Examples_VariableLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="Buildings_12_Buildings_Electrical_DC_Loads_Examples_VariableLoad",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.002892/0.002892, allocations: 67.91 kB / 1.15 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.037, allocations: 176.1 MB / 1.321 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.006099/1.043, allocations: 3.92 MB / 1.325 GB, free: 4.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003201/1.046, allocations: 1.827 MB / 1.327 GB, free: 3.016 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/1.046, allocations: 11.09 kB / 1.327 GB, free: 3.012 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/1.048, allocations: 454 kB / 1.328 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006201/1.048, allocations: 247.5 kB / 1.328 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/1.049, allocations: 252.7 kB / 1.328 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006735/1.05, allocations: 0.511 MB / 1.328 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005201/1.05, allocations: 292.1 kB / 1.329 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002763/1.05, allocations: 209 kB / 1.329 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/1.051, allocations: 251.7 kB / 1.329 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/1.051, allocations: 30.16 kB / 1.329 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003555/1.051, allocations: 200.4 kB / 1.329 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/1.051, allocations: 135.7 kB / 1.33 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/1.052, allocations: 186.1 kB / 1.33 GB, free: 1.258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007344/1.052, allocations: 0.4908 MB / 1.33 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.052, allocations: 5.469 kB / 1.33 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/1.052, allocations: 0 / 1.33 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.526e-06/1.052, allocations: 0 / 1.33 GB, free: 0.9258 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.00135/1.054, allocations: 0.6634 MB / 1.331 GB, free: 356 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.054, allocations: 16.83 kB / 1.331 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.353e-05/1.054, allocations: 17.81 kB / 1.331 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/1.054, allocations: 73.64 kB / 1.331 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/1.054, allocations: 86.58 kB / 1.331 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/1.055, allocations: 302 kB / 1.331 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/1.055, allocations: 21.41 kB / 1.331 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/1.055, allocations: 34 kB / 1.331 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/1.056, allocations: 497.2 kB / 1.332 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.056, allocations: 5.156 kB / 1.332 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.094e-05/1.056, allocations: 12.41 kB / 1.332 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/1.056, allocations: 39 kB / 1.332 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/1.057, allocations: 367.4 kB / 1.332 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/1.059, allocations: 2.062 MB / 1.334 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006839/1.06, allocations: 209.2 kB / 1.334 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/1.06, allocations: 147.7 kB / 1.335 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/1.06, allocations: 2.562 kB / 1.335 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.06, allocations: 31.81 kB / 1.335 GB, free: 13.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/1.06, allocations: 5.25 kB / 1.335 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001318/1.062, allocations: 428.3 kB / 1.335 GB, free: 12.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/1.062, allocations: 57.84 kB / 1.335 GB, free: 12.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/1.062, allocations: 270.9 kB / 1.335 GB, free: 12.66 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.062, allocations: 26.77 kB / 1.335 GB, free: 12.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/1.062, allocations: 214.4 kB / 1.336 GB, free: 12.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/1.062, allocations: 68.08 kB / 1.336 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.062, allocations: 60.28 kB / 1.336 GB, free: 12.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.063, allocations: 336.7 kB / 1.336 GB, free: 12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/1.063, allocations: 100.4 kB / 1.336 GB, free: 11.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/1.063, allocations: 206 kB / 1.336 GB, free: 11.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006792/1.064, allocations: 311.8 kB / 1.337 GB, free: 11.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.064, allocations: 5 kB / 1.337 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008987/1.065, allocations: 375.5 kB / 1.337 GB, free: 11.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/1.065, allocations: 7.594 kB / 1.337 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/1.065, allocations: 3.281 kB / 1.337 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/1.065, allocations: 43.2 kB / 1.337 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/1.065, allocations: 73.3 kB / 1.337 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/1.067, allocations: 1.45 MB / 1.339 GB, free: 9.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/1.067, allocations: 43.38 kB / 1.339 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/1.067, allocations: 14.75 kB / 1.339 GB, free: 9.758 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004039/1.068, allocations: 217.9 kB / 1.339 GB, free: 9.609 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000374/1.068, allocations: 213.4 kB / 1.339 GB, free: 9.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006432/1.069, allocations: 313.6 kB / 1.339 GB, free: 9.168 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/1.069, allocations: 5.25 kB / 1.339 GB, free: 9.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007797/1.069, allocations: 354.5 kB / 1.34 GB, free: 8.973 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.07, allocations: 8 kB / 1.34 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/1.07, allocations: 3.906 kB / 1.34 GB, free: 8.973 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/1.07, allocations: 32.7 kB / 1.34 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/1.07, allocations: 64.34 kB / 1.34 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/1.071, allocations: 1.417 MB / 1.341 GB, free: 7.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002817/1.071, allocations: 38.22 kB / 1.341 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/1.071, allocations: 13.97 kB / 1.341 GB, free: 7.453 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/1.072, allocations: 198.3 kB / 1.341 GB, free: 7.258 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/1.072, allocations: 32.05 kB / 1.341 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/1.072, allocations: 37.27 kB / 1.341 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/1.072, allocations: 1.156 kB / 1.341 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/1.072, allocations: 1.125 kB / 1.341 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.072, allocations: 0 / 1.341 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.073, allocations: 0.7569 MB / 1.342 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.073, allocations: 0 / 1.342 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/1.073, allocations: 41.53 kB / 1.342 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/1.073, allocations: 25.72 kB / 1.342 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/1.073, allocations: 5.219 kB / 1.342 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/1.075, allocations: 1.419 MB / 1.344 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.075, allocations: 5.094 kB / 1.344 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007113/1.075, allocations: 375.2 kB / 1.344 GB, free: 4.809 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/1.075, allocations: 113.9 kB / 1.344 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/1.076, allocations: 6.188 kB / 1.344 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/1.076, allocations: 19.97 kB / 1.344 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/1.076, allocations: 15.2 kB / 1.344 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/1.076, allocations: 4.375 kB / 1.344 GB, free: 4.668 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001941/1.076, allocations: 187.6 kB / 1.344 GB, free: 4.535 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/1.076, allocations: 0 / 1.344 GB, free: 4.535 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006452/1.077, allocations: 152.5 kB / 1.344 GB, free: 4.496 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/1.078, allocations: 0.9017 MB / 1.345 GB, free: 3.699 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00132/1.079, allocations: 0.5862 MB / 1.346 GB, free: 3.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.079, allocations: 4.125 kB / 1.346 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/1.079, allocations: 218.8 kB / 1.346 GB, free: 3.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/1.08, allocations: 80.38 kB / 1.346 GB, free: 3.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00434/1.084, allocations: 2.919 MB / 1.349 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/1.085, allocations: 0.7985 MB / 1.35 GB, free: 64 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002312/1.085, allocations: 69.98 kB / 1.35 GB, free: 28 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/1.085, allocations: 89.23 kB / 1.35 GB, free: 15.95 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/1.085, allocations: 0 / 1.35 GB, free: 15.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/1.116, allocations: 6.698 MB / 1.357 GB, free: 12.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.67, allocations: 17.73 kB / 1.357 GB, free: 12.64 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Loads_Examples_VariableLoad.fmu > Buildings_12_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.970170582993887] Failed to read output from testmodel.py, exit status != 0: 13.82663990900619 13.848523447 12.79179944 Calling exit ...