Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001702/0.001702, allocations: 118.8 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.002232/0.002232, 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.556/1.556, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.989/2.989, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_12_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.002272/0.002272, allocations: 62.25 kB / 1.15 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.009, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004069/1.013, allocations: 3.316 MB / 1.325 GB, free: 22.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002941/1.016, allocations: 2.079 MB / 1.327 GB, free: 21.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/1.016, allocations: 6.812 kB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008659/1.017, allocations: 295.7 kB / 1.327 GB, free: 20.94 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005008/1.018, allocations: 242.3 kB / 1.327 GB, free: 20.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/1.019, allocations: 281 kB / 1.328 GB, free: 20.68 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005126/1.019, allocations: 411.9 kB / 1.328 GB, free: 20.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/1.019, allocations: 163.3 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/1.02, allocations: 179.2 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003604/1.02, allocations: 213.2 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/1.02, allocations: 24.06 kB / 1.328 GB, free: 20.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/1.021, allocations: 270.3 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001543/1.021, allocations: 119.8 kB / 1.329 GB, free: 20.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/1.021, allocations: 150.2 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007989/1.022, allocations: 496.8 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.022, allocations: 1.531 kB / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.824e-06/1.022, allocations: 0 / 1.329 GB, free: 19.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.022, allocations: 0 / 1.329 GB, free: 19.89 MB / 1.061 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.001229/1.023, allocations: 0.6054 MB / 1.33 GB, free: 19.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/1.023, allocations: 13.77 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.388e-05/1.023, allocations: 10.62 kB / 1.33 GB, free: 19.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.964e-05/1.023, allocations: 67.72 kB / 1.33 GB, free: 19.32 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.024, allocations: 115.9 kB / 1.33 GB, free: 19.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/1.025, allocations: 285 kB / 1.331 GB, free: 19.05 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/1.025, allocations: 17.78 kB / 1.331 GB, free: 19.04 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/1.025, allocations: 38.78 kB / 1.331 GB, free: 19.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/1.026, allocations: 453.8 kB / 1.331 GB, free: 18.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/1.026, allocations: 12.95 kB / 1.331 GB, free: 18.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/1.026, allocations: 15.14 kB / 1.331 GB, free: 18.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/1.026, allocations: 39.66 kB / 1.331 GB, free: 18.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/1.027, allocations: 361.4 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002504/1.029, allocations: 2.208 MB / 1.334 GB, free: 16.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/1.03, allocations: 249.6 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/1.03, allocations: 144.7 kB / 1.334 GB, free: 16.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/1.03, allocations: 2.734 kB / 1.334 GB, free: 16.66 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/1.03, allocations: 36.66 kB / 1.334 GB, free: 16.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=22): time 2.185e-06/1.03, allocations: 8.906 kB / 1.334 GB, free: 16.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002031/1.032, allocations: 1.061 MB / 1.335 GB, free: 15.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/1.032, allocations: 58.94 kB / 1.335 GB, free: 15.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003779/1.032, allocations: 253.6 kB / 1.335 GB, free: 15.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/1.032, allocations: 30.83 kB / 1.335 GB, free: 15.71 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.032, allocations: 195.7 kB / 1.336 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/1.032, allocations: 86.2 kB / 1.336 GB, free: 15.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/1.033, allocations: 77.97 kB / 1.336 GB, free: 15.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.634e-05/1.033, allocations: 335.9 kB / 1.336 GB, free: 15.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/1.033, allocations: 163.4 kB / 1.336 GB, free: 15.05 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/1.034, allocations: 239.7 kB / 1.336 GB, free: 14.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006829/1.034, allocations: 412.1 kB / 1.337 GB, free: 14.67 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.034, allocations: 1.469 kB / 1.337 GB, free: 14.67 MB / 1.061 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001264/1.036, allocations: 0.593 MB / 1.337 GB, free: 14.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.036, allocations: 6.594 kB / 1.337 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.036, allocations: 3.75 kB / 1.337 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/1.036, allocations: 191.1 kB / 1.338 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/1.037, allocations: 67.25 kB / 1.338 GB, free: 14.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/1.04, allocations: 2.494 MB / 1.34 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/1.04, allocations: 26.78 kB / 1.34 GB, free: 12.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/1.04, allocations: 15.62 kB / 1.34 GB, free: 12.54 MB / 1.061 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.0002477/1.041, allocations: 173.6 kB / 1.34 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.118e-05/1.041, allocations: 24.89 kB / 1.34 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/1.041, allocations: 350.3 kB / 1.341 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.041, allocations: 3.875 kB / 1.341 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/1.041, allocations: 0 / 1.341 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.041, allocations: 1.453 kB / 1.341 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/1.042, allocations: 0.8189 MB / 1.341 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/1.042, allocations: 1.156 kB / 1.341 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/1.043, allocations: 73.16 kB / 1.342 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.043, allocations: 2.25 kB / 1.342 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.043, allocations: 7.188 kB / 1.342 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/1.043, allocations: 2.781 kB / 1.342 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.043, allocations: 1.188 kB / 1.342 GB, free: 11.71 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008093/1.044, allocations: 0.6162 MB / 1.342 GB, free: 11.38 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/1.044, allocations: 130 kB / 1.342 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/1.044, allocations: 12.89 kB / 1.342 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/1.044, allocations: 16.06 kB / 1.342 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/1.044, allocations: 15.81 kB / 1.342 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/1.044, allocations: 5.469 kB / 1.342 GB, free: 11.24 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002438/1.044, allocations: 191.4 kB / 1.342 GB, free: 11.13 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.044, allocations: 1.438 kB / 1.342 GB, free: 11.13 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005645/1.045, allocations: 97.59 kB / 1.343 GB, free: 11.11 MB / 1.061 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.001011/1.046, allocations: 1.167 MB / 1.344 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.047, allocations: 0.5041 MB / 1.344 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.047, allocations: 0 / 1.344 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/1.047, allocations: 148.2 kB / 1.344 GB, free: 9.941 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/1.048, allocations: 55.06 kB / 1.344 GB, free: 9.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005869/1.054, allocations: 3.677 MB / 1.348 GB, free: 7.598 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/1.054, allocations: 0.7937 MB / 1.349 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003137/1.054, allocations: 83.72 kB / 1.349 GB, free: 6.871 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/1.055, allocations: 86.34 kB / 1.349 GB, free: 6.809 MB / 1.061 GB Notification: Performance of SimCode: time 1.333e-06/1.055, allocations: 1.062 kB / 1.349 GB, free: 6.809 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03376/1.088, allocations: 6.998 MB / 1.356 GB, free: 6.059 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.75, allocations: 9.984 kB / 1.356 GB, free: 6.055 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.33123990497552] Failed to read output from testmodel.py, exit status != 0: 11.892827285977546 11.9047664 10.880025422 Calling exit ...