Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.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.001281/0.001281, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001402/0.001402, allocations: 218.2 kB / 22.26 MB, free: 5.121 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002415/0.002415, allocations: 284.2 kB / 312.7 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.149/1.149, allocations: 180.6 MB / 0.5369 GB, free: 12.95 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002827/0.002827, allocations: 103.3 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1602, allocations: 95.39 MB / 0.8327 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5909/0.7511, allocations: 157.9 MB / 0.987 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.7638, allocations: 10.86 MB / 0.9976 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.7652, allocations: 26.56 kB / 0.9976 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.7661, allocations: 297.7 kB / 0.9979 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003097/0.7691, allocations: 1.01 MB / 0.9989 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.7718, allocations: 1.137 MB / 1 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.7743, allocations: 1.746 MB / 1.002 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.7759, allocations: 0.9523 MB / 1.003 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.7785, allocations: 0.7678 MB / 1.003 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.7798, allocations: 0.6423 MB / 1.004 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003173/0.7802, allocations: 136.8 kB / 1.004 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.783, allocations: 1.114 MB / 1.005 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.7834, allocations: 396 kB / 1.006 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.7844, allocations: 0.6903 MB / 1.006 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003783/0.7882, allocations: 2.294 MB / 1.009 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.7882, allocations: 1.469 kB / 1.009 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7882, allocations: 1.094 kB / 1.009 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.7882, allocations: 0 / 1.009 GB, free: 2.871 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003143/0.7914, allocations: 1.733 MB / 1.01 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7914, allocations: 11.75 kB / 1.01 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.7916, allocations: 154.4 kB / 1.01 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002097/0.7937, allocations: 320.3 kB / 1.011 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.7952, allocations: 1.028 MB / 1.012 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.434e-05/0.7953, allocations: 79.84 kB / 1.012 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.7954, allocations: 91.97 kB / 1.012 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.7972, allocations: 1.104 MB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.7972, allocations: 1.281 kB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.7973, allocations: 45.42 kB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.7973, allocations: 22.78 kB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.7992, allocations: 1.322 MB / 1.014 GB, free: 17.43 MB / 0.7325 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.004691/0.8038, allocations: 3.432 MB / 1.018 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.8056, allocations: 0.9665 MB / 1.019 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.8062, allocations: 388.9 kB / 1.019 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/0.8064, allocations: 61.44 kB / 1.019 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009598/0.8073, allocations: 0.6223 MB / 1.02 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.354e-06/0.8073, allocations: 0.7812 kB / 1.02 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.003626/0.811, allocations: 1.489 MB / 1.021 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8111, allocations: 195.1 kB / 1.021 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.8121, allocations: 1.045 MB / 1.022 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.8122, allocations: 44.92 kB / 1.022 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.8125, allocations: 490.3 kB / 1.023 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.8127, allocations: 327.3 kB / 1.023 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.8129, allocations: 168.5 kB / 1.023 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8131, allocations: 345.1 kB / 1.024 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.8136, allocations: 332.6 kB / 1.024 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006555/0.8143, allocations: 476.5 kB / 1.024 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.8155, allocations: 0.7609 MB / 1.025 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8155, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002157/0.8177, allocations: 1.047 MB / 1.026 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.8177, allocations: 8.812 kB / 1.026 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8177, allocations: 0 / 1.026 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006832/0.8184, allocations: 115.8 kB / 1.026 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.8192, allocations: 195.3 kB / 1.026 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.8221, allocations: 2.866 MB / 1.029 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008853/0.823, allocations: 123.1 kB / 1.029 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.8231, allocations: 40.8 kB / 1.029 GB, free: 11.97 MB / 0.7325 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004807/0.8235, allocations: 306.6 kB / 1.03 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.8237, allocations: 110.5 kB / 1.03 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.8263, allocations: 1.314 MB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.8263, allocations: 11.78 kB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.8263, allocations: 3 kB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.8263, allocations: 3.328 kB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.8301, allocations: 2.43 MB / 1.033 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8301, allocations: 0 / 1.033 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.8309, allocations: 187.4 kB / 1.034 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/0.8314, allocations: 105.4 kB / 1.034 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.8315, allocations: 28.7 kB / 1.034 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002786/0.8343, allocations: 2.896 MB / 1.037 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8343, allocations: 0.8125 kB / 1.037 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.8365, allocations: 1.241 MB / 1.038 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.837, allocations: 254.4 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.8372, allocations: 22.81 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/0.838, allocations: 81.33 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8381, allocations: 90.42 kB / 1.038 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.254e-05/0.8382, allocations: 41.14 kB / 1.038 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008246/0.839, allocations: 0.7745 MB / 1.039 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.839, allocations: 0.875 kB / 1.039 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001215/0.8402, allocations: 454.5 kB / 1.039 GB, free: 8.348 MB / 0.7325 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004785/0.845, allocations: 2.389 MB / 1.042 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002059/0.8471, allocations: 1.082 MB / 1.043 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8471, allocations: 0.875 kB / 1.043 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.8482, allocations: 0.7087 MB / 1.044 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.8497, allocations: 369.8 kB / 1.044 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.8635, allocations: 8.441 MB / 1.052 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.8642, allocations: 1.109 MB / 1.053 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001137/0.8654, allocations: 320.6 kB / 1.054 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.866, allocations: 474.6 kB / 1.054 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of SimCode: time 8.41e-07/0.866, allocations: 0.7188 kB / 1.054 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0767/0.9427, allocations: 29.37 MB / 1.083 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.77, allocations: 6.203 kB / 1.083 GB, free: 10.28 MB / 0.7637 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.92730497299999] Failed to read output from testmodel.py, exit status != 0: 14.991933184002846 15.015086207 14.223563042 Calling exit ...