Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001465/0.001465, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001667/0.001667, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.54/1.54, 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 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.834/2.834, allocations: 476.7 MB / 0.7678 GB, free: 9.355 MB / 0.6075 GB " [Timeout remaining time 176] 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.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002115/0.002115, allocations: 67.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 169.9 MB / 1.279 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005616/1.008, allocations: 3.325 MB / 1.282 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004126/1.012, allocations: 2.077 MB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002431/1.012, allocations: 8.188 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001121/1.014, allocations: 297.8 kB / 1.285 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006821/1.014, allocations: 235.6 kB / 1.285 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008617/1.015, allocations: 289.2 kB / 1.285 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005508/1.016, allocations: 417.5 kB / 1.285 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003613/1.016, allocations: 161.9 kB / 1.286 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/1.016, allocations: 177.2 kB / 1.286 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004037/1.017, allocations: 217 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/1.017, allocations: 23.5 kB / 1.286 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005043/1.017, allocations: 272.1 kB / 1.286 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/1.018, allocations: 120.4 kB / 1.286 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/1.018, allocations: 148 kB / 1.286 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006743/1.018, allocations: 499.3 kB / 1.287 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.018, allocations: 1.531 kB / 1.287 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.173e-06/1.018, allocations: 0 / 1.287 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.334e-06/1.018, allocations: 0 / 1.287 GB, free: 6.742 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001201/1.02, allocations: 0.6113 MB / 1.288 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/1.02, allocations: 10.19 kB / 1.288 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.399e-05/1.02, allocations: 6.594 kB / 1.288 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.873e-05/1.02, allocations: 64.53 kB / 1.288 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/1.021, allocations: 113.8 kB / 1.288 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/1.021, allocations: 291.7 kB / 1.288 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/1.021, allocations: 14.34 kB / 1.288 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/1.021, allocations: 39.53 kB / 1.288 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/1.022, allocations: 453.7 kB / 1.288 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/1.022, allocations: 1.156 kB / 1.288 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.827e-05/1.022, allocations: 16.06 kB / 1.289 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/1.022, allocations: 39.41 kB / 1.289 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/1.023, allocations: 361.5 kB / 1.289 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/1.026, allocations: 2.219 MB / 1.291 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/1.026, allocations: 245.2 kB / 1.291 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/1.027, allocations: 148.8 kB / 1.291 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/1.027, allocations: 2.344 kB / 1.291 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/1.027, allocations: 33.72 kB / 1.291 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 1.893e-06/1.027, allocations: 0 / 1.291 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002017/1.029, allocations: 1.065 MB / 1.293 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.029, allocations: 58.28 kB / 1.293 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003674/1.029, allocations: 258 kB / 1.293 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/1.029, allocations: 35.08 kB / 1.293 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/1.029, allocations: 187 kB / 1.293 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.289e-05/1.029, allocations: 94.89 kB / 1.293 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.03, allocations: 82 kB / 1.293 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.03, allocations: 336.4 kB / 1.294 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/1.03, allocations: 156.3 kB / 1.294 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/1.03, allocations: 246.6 kB / 1.294 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/1.031, allocations: 408.5 kB / 1.294 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.031, allocations: 1.5 kB / 1.294 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001328/1.032, allocations: 0.5965 MB / 1.295 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.032, allocations: 6.062 kB / 1.295 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.032, allocations: 2.922 kB / 1.295 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007451/1.033, allocations: 188.3 kB / 1.295 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/1.034, allocations: 70.83 kB / 1.295 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/1.037, allocations: 2.494 MB / 1.298 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/1.037, allocations: 27.2 kB / 1.298 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.037, allocations: 20.89 kB / 1.298 GB, free: 15.38 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): 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002345/1.038, allocations: 162.7 kB / 1.298 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/1.038, allocations: 22.95 kB / 1.298 GB, free: 15.23 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/1.038, allocations: 356.6 kB / 1.298 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/1.038, allocations: 2.906 kB / 1.298 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/1.038, allocations: 0.6094 kB / 1.298 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.038, allocations: 7.172 kB / 1.298 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/1.04, allocations: 0.8126 MB / 1.299 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.04, allocations: 0.7969 kB / 1.299 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/1.04, allocations: 74.05 kB / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.04, allocations: 0.8125 kB / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/1.04, allocations: 8.422 kB / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.04, allocations: 1.984 kB / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.04, allocations: 1.75 kB / 1.299 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008402/1.041, allocations: 0.6231 MB / 1.3 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/1.041, allocations: 130 kB / 1.3 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/1.041, allocations: 8.469 kB / 1.3 GB, free: 14.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/1.041, allocations: 14.88 kB / 1.3 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/1.041, allocations: 20.88 kB / 1.3 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/1.041, allocations: 5 kB / 1.3 GB, free: 14.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002606/1.042, allocations: 188.3 kB / 1.3 GB, free: 13.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.042, allocations: 0 / 1.3 GB, free: 13.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004945/1.042, allocations: 90.81 kB / 1.3 GB, free: 13.97 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.001269/1.043, allocations: 1.167 MB / 1.301 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001088/1.044, allocations: 0.5175 MB / 1.302 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.045, allocations: 0 / 1.302 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/1.045, allocations: 139.5 kB / 1.302 GB, free: 12.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/1.045, allocations: 53.64 kB / 1.302 GB, free: 12.78 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00636/1.052, allocations: 3.693 MB / 1.305 GB, free: 10.42 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/1.052, allocations: 0.7977 MB / 1.306 GB, free: 9.711 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002881/1.052, allocations: 81.33 kB / 1.306 GB, free: 9.691 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/1.053, allocations: 81.72 kB / 1.306 GB, free: 9.637 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.053, allocations: 0 / 1.306 GB, free: 9.637 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/1.086, allocations: 6.998 MB / 1.313 GB, free: 8.758 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.22, allocations: 6.172 kB / 1.313 GB, free: 8.758 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.509365910023917] Failed to read output from testmodel.py, exit status != 0: 12.367768601048738 12.383575986 11.361888694 Calling exit ...