Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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.000705/0.000705, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007866/0.0007866, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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 0.9124/0.9124, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7651/0.7651, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001325/0.001325, allocations: 67.44 kB / 0.7182 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.501, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1312/0.6323, allocations: 148.2 MB / 0.9626 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.646, allocations: 15.94 MB / 0.9781 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007811/0.6468, allocations: 43.62 kB / 0.9782 GB, free: 0.9766 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.6479, allocations: 0.5467 MB / 0.9787 GB, free: 436 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.6508, allocations: 1.672 MB / 0.9803 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.6529, allocations: 1.359 MB / 0.9816 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.6547, allocations: 2.711 MB / 0.9843 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.6559, allocations: 1.512 MB / 0.9858 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.6583, allocations: 1.44 MB / 0.9872 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.659, allocations: 0.8981 MB / 0.9881 GB, free: 6.816 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.6592, allocations: 212 kB / 0.9883 GB, free: 6.609 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.6607, allocations: 1.291 MB / 0.9895 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/0.661, allocations: 0.5646 MB / 0.9901 GB, free: 4.75 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.6616, allocations: 0.8633 MB / 0.9909 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.6641, allocations: 3.176 MB / 0.994 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6641, allocations: 3.984 kB / 0.994 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6641, allocations: 0 / 0.994 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.018e-05/0.6642, allocations: 0 / 0.994 GB, free: 0.6914 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.002477/0.6666, allocations: 2.294 MB / 0.9963 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6667, allocations: 12.02 kB / 0.9963 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001995/0.6669, allocations: 249 kB / 0.9965 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.6689, allocations: 0.5763 MB / 0.9971 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.6701, allocations: 1.057 MB / 0.9981 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.6702, allocations: 127.4 kB / 0.9982 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.6703, allocations: 164 kB / 0.9984 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.6727, allocations: 2.6 MB / 1.001 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.6728, allocations: 7.875 kB / 1.001 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.6729, allocations: 76 kB / 1.001 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.6729, allocations: 44 kB / 1.001 GB, free: 9.164 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.6748, allocations: 1.828 MB / 1.003 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.6794, allocations: 3.962 MB / 1.007 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.6811, allocations: 1.366 MB / 1.008 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006874/0.6818, allocations: 0.5933 MB / 1.009 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.6823, allocations: 177.1 kB / 1.009 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.6835, allocations: 1.502 MB / 1.01 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 2.435e-06/0.6835, allocations: 0 / 1.01 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.003356/0.6869, allocations: 2.192 MB / 1.012 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.786e-05/0.6869, allocations: 193.2 kB / 1.013 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.6877, allocations: 0.871 MB / 1.013 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.133e-05/0.6878, allocations: 57.7 kB / 1.013 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005764/0.6883, allocations: 0.6655 MB / 1.014 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.6886, allocations: 0.4919 MB / 1.015 GB, free: 10.93 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.6888, allocations: 238.8 kB / 1.015 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.6889, allocations: 353.9 kB / 1.015 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005837/0.6895, allocations: 478.4 kB / 1.016 GB, free: 9.867 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.6902, allocations: 0.856 MB / 1.016 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.6915, allocations: 1.099 MB / 1.018 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.6915, allocations: 0 / 1.018 GB, free: 7.809 MB / 0.7917 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001879/0.6934, allocations: 1.504 MB / 1.019 GB, free: 6.281 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6934, allocations: 11.94 kB / 1.019 GB, free: 6.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6934, allocations: 0 / 1.019 GB, free: 6.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.6939, allocations: 200.1 kB / 1.019 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.6946, allocations: 327.6 kB / 1.02 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.6981, allocations: 6.759 MB / 1.026 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000524/0.6986, allocations: 149.3 kB / 1.026 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.6986, allocations: 56.03 kB / 1.026 GB, free: 14.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004002/0.699, allocations: 369.5 kB / 1.027 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.6992, allocations: 147.1 kB / 1.027 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.7017, allocations: 1.839 MB / 1.029 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.7017, allocations: 16 kB / 1.029 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.7017, allocations: 11.97 kB / 1.029 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7017, allocations: 3.984 kB / 1.029 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.7052, allocations: 3.183 MB / 1.032 GB, free: 8.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.7052, allocations: 3.938 kB / 1.032 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007018/0.7059, allocations: 319.6 kB / 1.032 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000358/0.7062, allocations: 184.1 kB / 1.032 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/0.7063, allocations: 43.95 kB / 1.032 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.7095, allocations: 6.788 MB / 1.039 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7095, allocations: 0 / 1.039 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.7115, allocations: 1.718 MB / 1.041 GB, free: 14.86 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.7119, allocations: 338.5 kB / 1.041 GB, free: 14.53 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.562e-05/0.712, allocations: 31.94 kB / 1.041 GB, free: 14.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.7126, allocations: 99.91 kB / 1.041 GB, free: 14.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.7127, allocations: 125 kB / 1.041 GB, free: 14.27 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/0.7131, allocations: 67.94 kB / 1.041 GB, free: 14.21 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000487/0.7136, allocations: 0.5986 MB / 1.042 GB, free: 13.6 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.7136, allocations: 4 kB / 1.042 GB, free: 13.59 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009464/0.7145, allocations: 0.6078 MB / 1.042 GB, free: 12.98 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00323/0.7177, allocations: 2.913 MB / 1.045 GB, free: 10.28 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.7196, allocations: 1.781 MB / 1.047 GB, free: 8.434 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7196, allocations: 8.594 kB / 1.047 GB, free: 8.422 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7206, allocations: 1.254 MB / 1.048 GB, free: 7.105 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.722, allocations: 0.5357 MB / 1.049 GB, free: 6.602 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.7326, allocations: 10.03 MB / 1.059 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.7331, allocations: 0.7216 MB / 1.059 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0008838/0.734, allocations: 436.5 kB / 1.06 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/0.7346, allocations: 0.6593 MB / 1.06 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of SimCode: time 8.92e-07/0.7346, allocations: 0 / 1.06 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05401/0.7886, allocations: 40.9 MB / 1.1 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.933/9.722, allocations: 13.88 kB / 1.1 GB, free: 2.031 MB / 0.8698 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.672923358157277] Failed to read output from testmodel.py, exit status != 0: 9.88391142943874 9.895828638 9.229837814 Calling exit ...