Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.751/2.751, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 71.89 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004695/1.02, allocations: 3.191 MB / 1.275 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003137/1.023, allocations: 1.982 MB / 1.277 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001992/1.023, allocations: 8.969 kB / 1.277 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001015/1.024, allocations: 289.6 kB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005775/1.025, allocations: 203.7 kB / 1.277 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/1.025, allocations: 241.6 kB / 1.277 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/1.026, allocations: 329.3 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/1.026, allocations: 141 kB / 1.278 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/1.026, allocations: 129.3 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/1.027, allocations: 155.8 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/1.027, allocations: 19.94 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008661/1.028, allocations: 423.4 kB / 1.278 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/1.028, allocations: 83.38 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/1.028, allocations: 122.9 kB / 1.279 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007549/1.029, allocations: 487.3 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.029, allocations: 0 / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.304e-06/1.029, allocations: 1 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.029, allocations: 0 / 1.279 GB, free: 3.145 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008843/1.03, allocations: 0.5616 MB / 1.28 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/1.03, allocations: 17.78 kB / 1.28 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/1.03, allocations: 60.36 kB / 1.28 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008608/1.031, allocations: 109.8 kB / 1.28 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/1.031, allocations: 270.7 kB / 1.28 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/1.031, allocations: 16.61 kB / 1.28 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/1.031, allocations: 16.53 kB / 1.28 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/1.032, allocations: 355.5 kB / 1.28 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.032, allocations: 8.75 kB / 1.28 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/1.032, allocations: 6.312 kB / 1.28 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/1.032, allocations: 30.55 kB / 1.28 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/1.032, allocations: 294.8 kB / 1.281 GB, free: 2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/1.034, allocations: 1.734 MB / 1.282 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/1.035, allocations: 320.3 kB / 1.283 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/1.035, allocations: 104.1 kB / 1.283 GB, free: 292 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.865e-05/1.035, allocations: 89.58 kB / 1.283 GB, free: 192 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.035, allocations: 37.5 kB / 1.283 GB, free: 148 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/1.035, allocations: 0 / 1.283 GB, free: 148 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002635/1.037, allocations: 0.967 MB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/1.038, allocations: 84.98 kB / 1.284 GB, free: 15.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/1.038, allocations: 208.6 kB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/1.038, allocations: 32.14 kB / 1.284 GB, free: 15.42 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.038, allocations: 181.1 kB / 1.284 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/1.038, allocations: 78.88 kB / 1.284 GB, free: 15.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/1.038, allocations: 63.81 kB / 1.285 GB, free: 15.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.038, allocations: 329.9 kB / 1.285 GB, free: 14.84 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.039, allocations: 132.2 kB / 1.285 GB, free: 14.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/1.039, allocations: 210.9 kB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/1.039, allocations: 373.5 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.039, allocations: 0.6094 kB / 1.286 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009271/1.04, allocations: 0.5046 MB / 1.286 GB, free: 14.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.04, allocations: 9.406 kB / 1.286 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.04, allocations: 6.875 kB / 1.286 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/1.041, allocations: 151.6 kB / 1.286 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/1.041, allocations: 57.95 kB / 1.286 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/1.045, allocations: 4.192 MB / 1.29 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/1.045, allocations: 18.23 kB / 1.29 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/1.045, allocations: 15.47 kB / 1.29 GB, free: 10.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002484/1.045, allocations: 166.1 kB / 1.291 GB, free: 9.949 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/1.045, allocations: 23.39 kB / 1.291 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009925/1.046, allocations: 477.6 kB / 1.291 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.046, allocations: 2.406 kB / 1.291 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/1.046, allocations: 3.5 kB / 1.291 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.046, allocations: 1.5 kB / 1.291 GB, free: 9.703 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/1.048, allocations: 1.016 MB / 1.292 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.048, allocations: 2.156 kB / 1.292 GB, free: 9.047 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/1.048, allocations: 33.83 kB / 1.292 GB, free: 9.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/1.049, allocations: 138.3 kB / 1.292 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/1.049, allocations: 10.2 kB / 1.292 GB, free: 8.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003734/1.053, allocations: 4.161 MB / 1.296 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.053, allocations: 2.969 kB / 1.296 GB, free: 4.969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.054, allocations: 0.6189 MB / 1.297 GB, free: 4.527 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/1.054, allocations: 126.2 kB / 1.297 GB, free: 4.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/1.054, allocations: 9.625 kB / 1.297 GB, free: 4.406 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/1.054, allocations: 19.33 kB / 1.297 GB, free: 4.402 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/1.054, allocations: 29.77 kB / 1.297 GB, free: 4.391 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/1.054, allocations: 8.844 kB / 1.297 GB, free: 4.391 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001937/1.054, allocations: 158.2 kB / 1.297 GB, free: 4.289 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.054, allocations: 0 / 1.297 GB, free: 4.289 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006577/1.055, allocations: 93.2 kB / 1.297 GB, free: 4.273 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/1.056, allocations: 1.197 MB / 1.298 GB, free: 3.277 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001168/1.058, allocations: 0.57 MB / 1.299 GB, free: 2.934 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.058, allocations: 0 / 1.299 GB, free: 2.934 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/1.058, allocations: 394.1 kB / 1.299 GB, free: 2.656 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/1.059, allocations: 49.91 kB / 1.299 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/1.064, allocations: 3.321 MB / 1.303 GB, free: 308 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005641/1.064, allocations: 0.7758 MB / 1.303 GB, free: 15.6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002159/1.065, allocations: 68.3 kB / 1.303 GB, free: 15.58 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/1.065, allocations: 70.97 kB / 1.304 GB, free: 15.53 MB / 1.029 GB Notification: Performance of SimCode: time 7.61e-07/1.065, allocations: 4.469 kB / 1.304 GB, free: 15.53 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/1.107, allocations: 6.773 MB / 1.31 GB, free: 14.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.41, allocations: 6.844 kB / 1.31 GB, free: 14.75 MB / 1.029 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.87821678299224] Failed to read output from testmodel.py, exit status != 0: 13.5085164399934 13.533454611 12.500123126 Calling exit ...