Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001776/0.001776, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.002088/0.002088, allocations: 186 kB / 20.78 MB, free: 1.539 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.449/1.449, allocations: 225.6 MB / 249.4 MB, free: 3.324 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.741/2.741, allocations: 476.7 MB / 0.7629 GB, free: 15.12 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.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.89 kB / 1.107 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.019/1.021, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007848/1.029, allocations: 7.006 MB / 1.278 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004872/1.034, allocations: 3.158 MB / 1.281 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/1.034, allocations: 32.53 kB / 1.281 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/1.037, allocations: 0.967 MB / 1.282 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/1.038, allocations: 0.5267 MB / 1.283 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001167/1.039, allocations: 432.6 kB / 1.283 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001661/1.041, allocations: 1.216 MB / 1.285 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009111/1.042, allocations: 486.7 kB / 1.285 GB, free: 15.03 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000756/1.042, allocations: 487 kB / 1.285 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008572/1.043, allocations: 0.5514 MB / 1.286 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/1.043, allocations: 67.06 kB / 1.286 GB, free: 14.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009197/1.044, allocations: 388.4 kB / 1.286 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/1.045, allocations: 314.7 kB / 1.287 GB, free: 14.35 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005109/1.045, allocations: 451.5 kB / 1.287 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001651/1.047, allocations: 1.218 MB / 1.288 GB, free: 13.66 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.047, allocations: 0 / 1.288 GB, free: 13.66 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.373e-06/1.047, allocations: 0 / 1.288 GB, free: 13.66 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.674e-05/1.047, allocations: 6.594 kB / 1.288 GB, free: 13.66 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002222/1.049, allocations: 1.177 MB / 1.29 GB, free: 12.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.049, allocations: 17.56 kB / 1.29 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/1.049, allocations: 122.3 kB / 1.29 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/1.051, allocations: 241.1 kB / 1.29 GB, free: 12.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009947/1.052, allocations: 0.5895 MB / 1.29 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.011e-05/1.052, allocations: 47.69 kB / 1.29 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.052, allocations: 66.27 kB / 1.291 GB, free: 12.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/1.054, allocations: 1.086 MB / 1.292 GB, free: 11.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/1.054, allocations: 6.562 kB / 1.292 GB, free: 11.64 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/1.054, allocations: 37.3 kB / 1.292 GB, free: 11.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/1.054, allocations: 83.92 kB / 1.292 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/1.055, allocations: 0.7517 MB / 1.292 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005907/1.061, allocations: 5.893 MB / 1.298 GB, free: 6.312 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.062, allocations: 0.5043 MB / 1.299 GB, free: 6.121 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/1.063, allocations: 283.3 kB / 1.299 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/1.063, allocations: 5.031 kB / 1.299 GB, free: 6.02 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.063, allocations: 38.31 kB / 1.299 GB, free: 5.977 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 2.124e-06/1.063, allocations: 0 / 1.299 GB, free: 5.977 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.004317/1.067, allocations: 1.992 MB / 1.301 GB, free: 4.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.067, allocations: 56.34 kB / 1.301 GB, free: 4.848 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007367/1.068, allocations: 0.5583 MB / 1.302 GB, free: 4.586 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/1.068, allocations: 36.94 kB / 1.302 GB, free: 4.547 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/1.068, allocations: 426.2 kB / 1.302 GB, free: 4.203 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/1.068, allocations: 176.5 kB / 1.302 GB, free: 4.066 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/1.069, allocations: 133.8 kB / 1.302 GB, free: 3.988 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.069, allocations: 377.3 kB / 1.303 GB, free: 3.645 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004496/1.069, allocations: 270.6 kB / 1.303 GB, free: 3.555 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/1.07, allocations: 494.2 kB / 1.303 GB, free: 3.184 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.071, allocations: 0.8107 MB / 1.304 GB, free: 2.645 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.071, allocations: 2.156 kB / 1.304 GB, free: 2.645 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001977/1.073, allocations: 1.078 MB / 1.305 GB, free: 2.184 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.073, allocations: 7.719 kB / 1.305 GB, free: 2.184 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/1.073, allocations: 8.094 kB / 1.305 GB, free: 2.184 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/1.074, allocations: 277.3 kB / 1.306 GB, free: 2.098 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/1.074, allocations: 125.3 kB / 1.306 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007469/1.082, allocations: 7.152 MB / 1.313 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008006/1.083, allocations: 36.16 kB / 1.313 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/1.083, allocations: 36.53 kB / 1.313 GB, free: 11.8 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00048/1.083, allocations: 251 kB / 1.313 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1.083, allocations: 73.16 kB / 1.313 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/1.085, allocations: 0.8851 MB / 1.314 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/1.085, allocations: 5.094 kB / 1.314 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.085, allocations: 3.188 kB / 1.314 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/1.085, allocations: 3.328 kB / 1.314 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/1.088, allocations: 1.712 MB / 1.316 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.088, allocations: 5.625 kB / 1.316 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/1.088, allocations: 63.98 kB / 1.316 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008307/1.089, allocations: 270.1 kB / 1.316 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.089, allocations: 8.781 kB / 1.316 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007154/1.096, allocations: 7.128 MB / 1.323 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.096, allocations: 2.219 kB / 1.323 GB, free: 3.992 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.098, allocations: 0.9779 MB / 1.324 GB, free: 3.473 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/1.098, allocations: 202.7 kB / 1.324 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.042e-05/1.099, allocations: 12.41 kB / 1.324 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/1.099, allocations: 30.59 kB / 1.324 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.099, allocations: 44.78 kB / 1.324 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/1.099, allocations: 16.42 kB / 1.324 GB, free: 3.281 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005409/1.1, allocations: 384.2 kB / 1.324 GB, free: 3.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/1.1, allocations: 0 / 1.324 GB, free: 3.105 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009199/1.101, allocations: 225.9 kB / 1.325 GB, free: 3.082 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001935/1.102, allocations: 1.541 MB / 1.326 GB, free: 2.016 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.105, allocations: 1.225 MB / 1.327 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.105, allocations: 1.125 kB / 1.327 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/1.106, allocations: 0.872 MB / 1.328 GB, free: 0.6992 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/1.107, allocations: 217.5 kB / 1.328 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009833/1.117, allocations: 6.372 MB / 1.335 GB, free: 12.94 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/1.118, allocations: 1.006 MB / 1.336 GB, free: 12.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004963/1.118, allocations: 125.2 kB / 1.336 GB, free: 12.18 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00035/1.119, allocations: 251.1 kB / 1.336 GB, free: 11.98 MB / 1.045 GB Notification: Performance of SimCode: time 8.82e-07/1.119, allocations: 0 / 1.336 GB, free: 11.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06499/1.184, allocations: 17.59 MB / 1.353 GB, free: 6.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.08, allocations: 9.859 kB / 1.353 GB, free: 6.41 MB / 1.045 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 26.25820345300599] Failed to read output from testmodel.py, exit status != 0: 15.175258689007023 15.19728228 14.146506215 Calling exit ...