Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.001337/0.001337, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001793/0.001793, allocations: 214.2 kB / 23.04 MB, free: 5.078 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8271/0.8271, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="cs",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.001861/0.001861, allocations: 64.67 kB / 0.6193 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 85.9 MB / 0.7032 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009601/0.1754, allocations: 6.348 MB / 0.7094 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5445/0.7199, allocations: 156.8 MB / 0.8625 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.7215, allocations: 47.62 kB / 0.8625 GB, free: 3.355 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009705/0.7225, allocations: 319.7 kB / 0.8628 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.7247, allocations: 0.686 MB / 0.8635 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.7281, allocations: 1.376 MB / 0.8648 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003397/0.7315, allocations: 2.36 MB / 0.8671 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.7327, allocations: 0.738 MB / 0.8679 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001377/0.7341, allocations: 0.8253 MB / 0.8687 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.7351, allocations: 0.8167 MB / 0.8695 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.7354, allocations: 188 kB / 0.8697 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.7372, allocations: 0.9949 MB / 0.8706 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000445/0.7376, allocations: 0.4984 MB / 0.8711 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008554/0.7385, allocations: 0.9209 MB / 0.872 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.7419, allocations: 2.808 MB / 0.8748 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7419, allocations: 0 / 0.8748 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7419, allocations: 0 / 0.8748 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.7419, allocations: 0 / 0.8748 GB, free: 6.812 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003746/0.7457, allocations: 2.197 MB / 0.8769 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7457, allocations: 12.03 kB / 0.8769 GB, free: 4.559 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.182e-05/0.7457, allocations: 34.88 kB / 0.8769 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002327/0.746, allocations: 206.7 kB / 0.8771 GB, free: 4.312 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/0.7488, allocations: 442.6 kB / 0.8776 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.7508, allocations: 1.204 MB / 0.8787 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.7509, allocations: 94.69 kB / 0.8788 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.7511, allocations: 136 kB / 0.879 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.7538, allocations: 1.528 MB / 0.8804 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.7538, allocations: 4 kB / 0.8805 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.7539, allocations: 56 kB / 0.8805 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.903e-05/0.754, allocations: 32 kB / 0.8805 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.7574, allocations: 2.047 MB / 0.8825 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007247/0.7647, allocations: 4.352 MB / 0.8868 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/0.7674, allocations: 1.345 MB / 0.8881 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.7685, allocations: 0.4896 MB / 0.8886 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.7686, allocations: 65.38 kB / 0.8886 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/0.7701, allocations: 0.7898 MB / 0.8894 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=136): time 3.276e-06/0.7701, allocations: 8 kB / 0.8894 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of matching and sorting (n=136): time 0.00594/0.7761, allocations: 1.963 MB / 0.8913 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/0.7763, allocations: 359.4 kB / 0.8917 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.778, allocations: 1.125 MB / 0.8928 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.7781, allocations: 45.7 kB / 0.8928 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/0.7788, allocations: 0.6471 MB / 0.8935 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000423/0.7792, allocations: 475.9 kB / 0.8939 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003881/0.7796, allocations: 254.7 kB / 0.8941 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.7797, allocations: 357.9 kB / 0.8945 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009629/0.7807, allocations: 438.4 kB / 0.8949 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.7819, allocations: 0.6385 MB / 0.8955 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/0.7841, allocations: 1.081 MB / 0.8966 GB, free: 15.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.7841, allocations: 0 / 0.8966 GB, free: 15.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003828/0.7879, allocations: 1.431 MB / 0.898 GB, free: 14.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.7879, allocations: 8 kB / 0.898 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7879, allocations: 7.625 kB / 0.898 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.7891, allocations: 161.6 kB / 0.8982 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.7902, allocations: 275.6 kB / 0.8984 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/0.7944, allocations: 3.076 MB / 0.9014 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.7956, allocations: 160.7 kB / 0.9016 GB, free: 10.54 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.7957, allocations: 51.97 kB / 0.9016 GB, free: 10.49 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * 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: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000751/0.7965, allocations: 389.9 kB / 0.902 GB, free: 10.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.7968, allocations: 159 kB / 0.9021 GB, free: 9.945 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.8014, allocations: 1.974 MB / 0.9041 GB, free: 7.957 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.8014, allocations: 16 kB / 0.9041 GB, free: 7.941 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8014, allocations: 3.938 kB / 0.9041 GB, free: 7.938 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.8014, allocations: 7.969 kB / 0.9041 GB, free: 7.93 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.8033, allocations: 1.471 MB / 0.9055 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.8034, allocations: 0 / 0.9055 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.8044, allocations: 283.6 kB / 0.9058 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008187/0.8053, allocations: 153.4 kB / 0.906 GB, free: 5.984 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.8053, allocations: 39.97 kB / 0.906 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003723/0.8091, allocations: 3.141 MB / 0.9091 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8091, allocations: 4.031 kB / 0.9091 GB, free: 2.559 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003742/0.8128, allocations: 1.632 MB / 0.9107 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007402/0.8136, allocations: 363 kB / 0.911 GB, free: 0.5469 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.8138, allocations: 43.86 kB / 0.911 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.8148, allocations: 108.7 kB / 0.9111 GB, free: 408 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.815, allocations: 121.8 kB / 0.9113 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.8151, allocations: 63.95 kB / 0.9113 GB, free: 220 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001127/0.8162, allocations: 0.782 MB / 0.9121 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8162, allocations: 0 / 0.9121 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001212/0.8174, allocations: 478.8 kB / 0.9125 GB, free: 14.96 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005763/0.8232, allocations: 2.731 MB / 0.9152 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003169/0.8264, allocations: 1.409 MB / 0.9166 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.8264, allocations: 0 / 0.9166 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.8281, allocations: 0.9028 MB / 0.9175 GB, free: 10.06 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.8304, allocations: 0.557 MB / 0.918 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/0.8508, allocations: 10.6 MB / 0.9284 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/0.8517, allocations: 1.294 MB / 0.9296 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8533, allocations: 0.4962 MB / 0.9301 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/0.8542, allocations: 0.6788 MB / 0.9308 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of SimCode: time 7.02e-07/0.8542, allocations: 0 / 0.9308 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08184/0.9361, allocations: 38.06 MB / 0.9679 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.7, allocations: 8.75 kB / 0.968 GB, free: 6.398 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.56661710597109] Failed to read output from testmodel.py, exit status != 0: 15.995216515031643 16.022472181 15.274963565 Calling exit ...