Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001558/0.001558, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.001479/0.001479, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.509/1.509, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.104/1.104, allocations: 173.4 MB / 470.6 MB, free: 13.66 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.SimpleHouse2,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2,fileNamePrefix="IDEAS_dev_IDEAS_Examples_Tutorial_SimpleHouse_SimpleHouse2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 73.47 kB / 0.6478 GB, free: 11.79 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2336, allocations: 89.51 MB / 0.7352 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.0081/0.2417, allocations: 5.245 MB / 0.7403 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.8839/1.126, allocations: 150.7 MB / 0.8874 GB, free: 5.531 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/1.127, allocations: 15.94 kB / 0.8874 GB, free: 5.516 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007457/1.128, allocations: 201 kB / 0.8876 GB, free: 5.32 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002347/1.13, allocations: 0.5653 MB / 0.8882 GB, free: 4.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/1.133, allocations: 0.8488 MB / 0.889 GB, free: 3.949 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002141/1.135, allocations: 1.459 MB / 0.8904 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/1.136, allocations: 0.603 MB / 0.891 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000867/1.137, allocations: 0.4983 MB / 0.8915 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007066/1.137, allocations: 0.525 MB / 0.892 GB, free: 0.832 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/1.138, allocations: 120 kB / 0.8921 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.139, allocations: 495.6 kB / 0.8926 GB, free: 236 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/1.139, allocations: 307 kB / 0.8929 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006227/1.14, allocations: 0.5985 MB / 0.8935 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/1.142, allocations: 1.695 MB / 0.8952 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/1.142, allocations: 3.984 kB / 0.8952 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.615e-06/1.142, allocations: 0 / 0.8952 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.724e-05/1.142, allocations: 0 / 0.8952 GB, free: 13.63 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00311/1.145, allocations: 1.526 MB / 0.8966 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.162e-05/1.145, allocations: 12.03 kB / 0.8967 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001932/1.146, allocations: 139.7 kB / 0.8968 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/1.147, allocations: 200.5 kB / 0.897 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.148, allocations: 0.7983 MB / 0.8978 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-05/1.148, allocations: 69.94 kB / 0.8978 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/1.148, allocations: 87.98 kB / 0.8979 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/1.15, allocations: 0.9505 MB / 0.8988 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.15, allocations: 0 / 0.8988 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-05/1.15, allocations: 37.03 kB / 0.8989 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/1.15, allocations: 24 kB / 0.8989 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.152, allocations: 1.133 MB / 0.9 GB, free: 8.523 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.004784/1.157, allocations: 2.87 MB / 0.9028 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/1.159, allocations: 0.8435 MB / 0.9036 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/1.159, allocations: 322.7 kB / 0.9039 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.634e-05/1.16, allocations: 32.69 kB / 0.904 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009593/1.161, allocations: 0.5092 MB / 0.9045 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.414e-06/1.161, allocations: 0 / 0.9045 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.003641/1.164, allocations: 1.255 MB / 0.9057 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.164, allocations: 192.9 kB / 0.9059 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/1.165, allocations: 0.6451 MB / 0.9065 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.83e-05/1.165, allocations: 45.69 kB / 0.9065 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/1.166, allocations: 425 kB / 0.907 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/1.166, allocations: 289.5 kB / 0.9072 GB, free: 0.8594 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/1.167, allocations: 146.6 kB / 0.9074 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002505/1.167, allocations: 398.7 kB / 0.9078 GB, free: 320 kB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/1.167, allocations: 253.9 kB / 0.908 GB, free: 64 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/1.168, allocations: 374.6 kB / 0.9084 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.169, allocations: 0.6047 MB / 0.9089 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.169, allocations: 0 / 0.9089 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002137/1.171, allocations: 0.8452 MB / 0.9098 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/1.171, allocations: 4 kB / 0.9098 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.171, allocations: 4.094 kB / 0.9098 GB, free: 14.19 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/1.172, allocations: 76.78 kB / 0.9098 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/1.173, allocations: 169.1 kB / 0.91 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/1.175, allocations: 1.629 MB / 0.9116 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008287/1.176, allocations: 99.05 kB / 0.9117 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/1.176, allocations: 31.92 kB / 0.9117 GB, free: 12.05 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 (92): * Single equations (assignments): 91 * 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.0006066/1.177, allocations: 272.2 kB / 0.912 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/1.177, allocations: 91.42 kB / 0.9121 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/1.18, allocations: 1.093 MB / 0.9131 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/1.18, allocations: 12 kB / 0.9131 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.18, allocations: 48 / 0.9131 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/1.18, allocations: 15.52 kB / 0.9132 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/1.181, allocations: 0.9347 MB / 0.9141 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.181, allocations: 0.5625 kB / 0.9141 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/1.182, allocations: 155.8 kB / 0.9142 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/1.182, allocations: 76.72 kB / 0.9143 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/1.182, allocations: 23.98 kB / 0.9143 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002156/1.184, allocations: 1.662 MB / 0.9159 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.184, allocations: 0 / 0.9159 GB, free: 7.523 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/1.187, allocations: 1.368 MB / 0.9173 GB, free: 6.137 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/1.188, allocations: 284.2 kB / 0.9176 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.188, allocations: 27.88 kB / 0.9176 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006552/1.189, allocations: 70.17 kB / 0.9176 GB, free: 5.746 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/1.189, allocations: 72.89 kB / 0.9177 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/1.189, allocations: 31.98 kB / 0.9177 GB, free: 5.645 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000742/1.19, allocations: 479 kB / 0.9182 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.19, allocations: 0 / 0.9182 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001043/1.191, allocations: 327.2 kB / 0.9185 GB, free: 4.859 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 (96): * Single equations (assignments): 90 * 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.005344/1.196, allocations: 2.429 MB / 0.9209 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.198, allocations: 0.8275 MB / 0.9217 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.198, allocations: 7.938 kB / 0.9217 GB, free: 1.754 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/1.199, allocations: 0.5315 MB / 0.9222 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.201, allocations: 303 kB / 0.9225 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.213, allocations: 6.551 MB / 0.9289 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00093/1.214, allocations: 1.039 MB / 0.9299 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001047/1.215, allocations: 262.9 kB / 0.9302 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/1.216, allocations: 403.3 kB / 0.9306 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of SimCode: time 1.562e-06/1.216, allocations: 4 kB / 0.9306 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07135/1.287, allocations: 22.23 MB / 0.9523 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/15.19, allocations: 7.875 kB / 0.9523 GB, free: 2.531 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2_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_SimpleHouse2.fmu > IDEAS_dev_IDEAS.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.636583195999265] Failed to read output from testmodel.py, exit status != 0: 15.403603538055904 15.428583288 14.281883753 Calling exit ...