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.001279/0.001279, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001563/0.001563, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 8.016 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.002524/0.002524, allocations: 279.9 kB / 312.7 MB, free: 2.793 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.207/1.207, allocations: 180.6 MB / 0.5369 GB, free: 13 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.002847/0.002847, allocations: 96.06 kB / 0.7396 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1881, allocations: 95.39 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6204/0.8085, allocations: 157.9 MB / 0.987 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.821, allocations: 10.86 MB / 0.9976 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.8222, allocations: 28.78 kB / 0.9976 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.823, allocations: 297.1 kB / 0.9979 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.8258, allocations: 1.003 MB / 0.9989 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002507/0.8283, allocations: 1.14 MB / 1 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.8302, allocations: 1.742 MB / 1.002 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.8315, allocations: 0.9571 MB / 1.003 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.8335, allocations: 0.7722 MB / 1.003 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008972/0.8344, allocations: 0.642 MB / 1.004 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.8347, allocations: 136.3 kB / 1.004 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.8372, allocations: 1.115 MB / 1.005 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003439/0.8375, allocations: 391.3 kB / 1.006 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007625/0.8383, allocations: 0.6822 MB / 1.006 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.8412, allocations: 2.296 MB / 1.008 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.8412, allocations: 0.9062 kB / 1.008 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8412, allocations: 1.406 kB / 1.008 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.777e-05/0.8412, allocations: 0 / 1.008 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.003001/0.8442, allocations: 1.735 MB / 1.01 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8443, allocations: 11.81 kB / 1.01 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.8444, allocations: 152.3 kB / 1.01 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.8465, allocations: 321.8 kB / 1.011 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.8479, allocations: 1.024 MB / 1.012 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.8479, allocations: 78.59 kB / 1.012 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.848, allocations: 97.16 kB / 1.012 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.8497, allocations: 1.107 MB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.8497, allocations: 0 / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.728e-05/0.8498, allocations: 42.97 kB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.8498, allocations: 24.06 kB / 1.013 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.8517, 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.004782/0.8565, allocations: 3.435 MB / 1.018 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.8582, allocations: 0.9679 MB / 1.019 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006344/0.8588, allocations: 390.6 kB / 1.019 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.859, allocations: 61.17 kB / 1.019 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009014/0.8599, allocations: 0.6236 MB / 1.02 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=95): time 2.695e-06/0.8599, allocations: 1.094 kB / 1.02 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95): time 0.003632/0.8636, allocations: 1.486 MB / 1.021 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.8637, allocations: 192.5 kB / 1.021 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.8647, allocations: 1.046 MB / 1.022 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.8648, allocations: 45.11 kB / 1.022 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.865, allocations: 491.6 kB / 1.023 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.8652, allocations: 327.3 kB / 1.023 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.8654, allocations: 169.5 kB / 1.023 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.8656, allocations: 340.5 kB / 1.024 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005732/0.8661, allocations: 336.8 kB / 1.024 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.8668, allocations: 475.1 kB / 1.024 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.868, allocations: 0.7587 MB / 1.025 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.868, allocations: 0.875 kB / 1.025 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002096/0.8701, allocations: 1.047 MB / 1.026 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.8701, allocations: 7.531 kB / 1.026 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.8702, allocations: 0.8438 kB / 1.026 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006987/0.8709, allocations: 120.3 kB / 1.026 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.8717, allocations: 201.6 kB / 1.026 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002851/0.8745, allocations: 2.861 MB / 1.029 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008512/0.8754, allocations: 117.2 kB / 1.029 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.8754, allocations: 32.92 kB / 1.029 GB, free: 11.98 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.0004823/0.8759, allocations: 308.4 kB / 1.03 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.8761, allocations: 110.3 kB / 1.03 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.8786, allocations: 1.321 MB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.8786, allocations: 15.55 kB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8786, allocations: 0.875 kB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8787, allocations: 5.953 kB / 1.031 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/0.8824, allocations: 2.428 MB / 1.033 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.8824, allocations: 0.75 kB / 1.033 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007304/0.8831, allocations: 187.4 kB / 1.034 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/0.8836, allocations: 106.4 kB / 1.034 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.8837, allocations: 29.23 kB / 1.034 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002761/0.8864, allocations: 2.899 MB / 1.037 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8864, allocations: 0 / 1.037 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.8887, allocations: 1.234 MB / 1.038 GB, free: 8.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.8893, allocations: 255.5 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.8894, allocations: 20.88 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008112/0.8903, allocations: 78.34 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/0.8904, allocations: 87.98 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-05/0.8905, allocations: 44.25 kB / 1.038 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008797/0.8914, allocations: 0.7728 MB / 1.039 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8914, allocations: 3.938 kB / 1.039 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001309/0.8927, allocations: 452.8 kB / 1.039 GB, free: 8.352 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.004989/0.8977, allocations: 2.397 MB / 1.042 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.8997, allocations: 1.077 MB / 1.043 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.8997, allocations: 3.156 kB / 1.043 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.9009, allocations: 0.7074 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.001471/0.9024, allocations: 364.4 kB / 1.044 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.9156, allocations: 8.452 MB / 1.052 GB, free: 3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/0.9163, allocations: 1.106 MB / 1.053 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001085/0.9174, allocations: 318.7 kB / 1.054 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/0.9182, allocations: 470.3 kB / 1.054 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.9182, allocations: 0.7188 kB / 1.054 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/0.9948, allocations: 29.37 MB / 1.083 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.46, allocations: 3.453 kB / 1.083 GB, free: 10.21 MB / 0.7637 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 19.72247378504835] Failed to read output from testmodel.py, exit status != 0: 15.685851673129946 15.702740634 14.858272503 Calling exit ...