Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.001347/0.001347, allocations: 108.7 kB / 16.4 MB, free: 6.496 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.001315/0.001315, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.499/1.499, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.199/1.199, allocations: 173.4 MB / 470.7 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.17 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2366, allocations: 89.52 MB / 0.7352 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.008144/0.2448, allocations: 5.122 MB / 0.7403 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.792/1.037, allocations: 150.7 MB / 0.8874 GB, free: 5.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/1.038, allocations: 19.94 kB / 0.8874 GB, free: 5.551 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/1.04, allocations: 197 kB / 0.8876 GB, free: 5.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003297/1.043, allocations: 0.5578 MB / 0.8881 GB, free: 4.816 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003264/1.046, allocations: 0.8346 MB / 0.8889 GB, free: 4.012 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002769/1.049, allocations: 1.432 MB / 0.8903 GB, free: 2.574 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/1.05, allocations: 0.5889 MB / 0.8909 GB, free: 1.961 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/1.052, allocations: 494.3 kB / 0.8914 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008577/1.052, allocations: 0.5172 MB / 0.8919 GB, free: 0.957 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002099/1.053, allocations: 123.9 kB / 0.892 GB, free: 0.8359 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/1.054, allocations: 483.6 kB / 0.8925 GB, free: 372 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003939/1.055, allocations: 303 kB / 0.8928 GB, free: 68 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007891/1.055, allocations: 0.587 MB / 0.8933 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/1.058, allocations: 1.664 MB / 0.895 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.058, allocations: 0 / 0.895 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.835e-06/1.058, allocations: 0 / 0.895 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.631e-05/1.058, allocations: 0 / 0.895 GB, free: 13.81 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003149/1.061, allocations: 1.514 MB / 0.8964 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.978e-05/1.061, allocations: 8.031 kB / 0.8964 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001975/1.062, allocations: 139.6 kB / 0.8966 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.063, allocations: 192.1 kB / 0.8968 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/1.064, allocations: 0.7866 MB / 0.8975 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/1.064, allocations: 62 kB / 0.8976 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/1.064, allocations: 87.95 kB / 0.8977 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.066, allocations: 0.9438 MB / 0.8986 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/1.066, allocations: 0 / 0.8986 GB, free: 9.949 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-05/1.066, allocations: 36 kB / 0.8986 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/1.067, allocations: 24 kB / 0.8986 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/1.068, allocations: 1.12 MB / 0.8997 GB, free: 8.766 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005068/1.074, allocations: 2.829 MB / 0.9025 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.075, allocations: 0.8063 MB / 0.9033 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/1.076, allocations: 302.7 kB / 0.9036 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.476e-05/1.076, allocations: 40.53 kB / 0.9036 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009495/1.077, allocations: 495.9 kB / 0.9041 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/1.077, allocations: 0 / 0.9041 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.003442/1.08, allocations: 1.212 MB / 0.9053 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/1.081, allocations: 192.5 kB / 0.9055 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.082, allocations: 0.6411 MB / 0.9061 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/1.082, allocations: 45.69 kB / 0.9061 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/1.082, allocations: 421 kB / 0.9065 GB, free: 1.562 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/1.082, allocations: 277.7 kB / 0.9068 GB, free: 1.289 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.083, allocations: 150.6 kB / 0.9069 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002553/1.083, allocations: 390.4 kB / 0.9073 GB, free: 0.75 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/1.084, allocations: 249.9 kB / 0.9075 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006583/1.084, allocations: 366.5 kB / 0.9079 GB, free: 120 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.085, allocations: 0.5918 MB / 0.9085 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.085, allocations: 0 / 0.9085 GB, free: 15.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002111/1.088, allocations: 0.8148 MB / 0.9093 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/1.088, allocations: 7.938 kB / 0.9093 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.088, allocations: 4 kB / 0.9093 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/1.088, allocations: 76.86 kB / 0.9094 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/1.089, allocations: 159.8 kB / 0.9095 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/1.092, allocations: 1.636 MB / 0.9111 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008967/1.093, allocations: 84.22 kB / 0.9112 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/1.093, allocations: 31.92 kB / 0.9112 GB, free: 12.55 MB / 0.7012 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 (89): * Single equations (assignments): 88 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006915/1.093, allocations: 274.3 kB / 0.9115 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/1.094, allocations: 87.44 kB / 0.9116 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/1.096, allocations: 1.075 MB / 0.9126 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/1.096, allocations: 15.94 kB / 0.9126 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.096, allocations: 0 / 0.9126 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/1.096, allocations: 7.969 kB / 0.9126 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/1.098, allocations: 0.9164 MB / 0.9135 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.098, allocations: 0 / 0.9135 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.098, allocations: 155.8 kB / 0.9137 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/1.099, allocations: 68.78 kB / 0.9137 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/1.099, allocations: 27.92 kB / 0.9138 GB, free: 9.875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/1.101, allocations: 1.659 MB / 0.9154 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.101, allocations: 0 / 0.9154 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/1.104, allocations: 1.344 MB / 0.9167 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/1.105, allocations: 280.3 kB / 0.917 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.105, allocations: 20 kB / 0.917 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006275/1.106, allocations: 67.86 kB / 0.9171 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/1.106, allocations: 68.91 kB / 0.9171 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/1.106, allocations: 35.97 kB / 0.9172 GB, free: 6.223 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007214/1.107, allocations: 468.1 kB / 0.9176 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/1.107, allocations: 4 kB / 0.9176 GB, free: 5.766 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001054/1.108, allocations: 335.1 kB / 0.9179 GB, free: 5.438 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005269/1.113, allocations: 2.387 MB / 0.9203 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001936/1.115, allocations: 0.8116 MB / 0.921 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.115, allocations: 0 / 0.921 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009864/1.116, allocations: 0.5238 MB / 0.9216 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.117, allocations: 298.2 kB / 0.9218 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/1.129, allocations: 6.388 MB / 0.9281 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/1.13, allocations: 1.027 MB / 0.9291 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001102/1.132, allocations: 270.7 kB / 0.9293 GB, free: 9.719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006732/1.132, allocations: 395.3 kB / 0.9297 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of SimCode: time 1.202e-06/1.132, allocations: 0 / 0.9297 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07184/1.204, allocations: 21.89 MB / 0.9511 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/15.29, allocations: 4.656 kB / 0.9511 GB, free: 3.715 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse1.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.837586279027164] Failed to read output from testmodel.py, exit status != 0: 15.503636377863586 15.528049661 14.465447743 Calling exit ...