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.001456/0.001456, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001553/0.001553, allocations: 215 kB / 23.03 MB, free: 4.949 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.847/0.847, allocations: 134 MB / 447.2 MB, free: 9.969 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.001887/0.001887, allocations: 65.42 kB / 0.6192 GB, free: 6.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 85.91 MB / 0.7031 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.008478/0.1737, allocations: 5.53 MB / 0.7085 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5282/0.7019, allocations: 135.1 MB / 0.8404 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.7031, allocations: 45.31 kB / 0.8405 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.7039, allocations: 325.7 kB / 0.8408 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.706, allocations: 0.6921 MB / 0.8414 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.7089, allocations: 1.324 MB / 0.8427 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002694/0.7116, allocations: 2.36 MB / 0.845 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001167/0.7127, allocations: 0.7419 MB / 0.8458 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.7139, allocations: 0.8253 MB / 0.8466 GB, free: 388 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009737/0.7149, allocations: 0.8167 MB / 0.8474 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002735/0.7152, allocations: 188 kB / 0.8475 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.7169, allocations: 0.9209 MB / 0.8484 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004695/0.7173, allocations: 0.4906 MB / 0.8489 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.7181, allocations: 0.7306 MB / 0.8496 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003311/0.7214, allocations: 2.818 MB / 0.8524 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7214, allocations: 0 / 0.8524 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7214, allocations: 1.125 kB / 0.8524 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.184e-05/0.7214, allocations: 0 / 0.8524 GB, free: 10.41 MB / 0.6231 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.003751/0.7252, allocations: 2.205 MB / 0.8545 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.7252, allocations: 12.02 kB / 0.8546 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.869e-05/0.7253, allocations: 34.88 kB / 0.8546 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002348/0.7255, allocations: 206.8 kB / 0.8548 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002911/0.7284, allocations: 443.3 kB / 0.8552 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.7305, allocations: 1.208 MB / 0.8564 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.259e-05/0.7306, allocations: 98.69 kB / 0.8565 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.7308, allocations: 128 kB / 0.8566 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.7339, allocations: 2.03 MB / 0.8586 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.734, allocations: 4 kB / 0.8586 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001357/0.7341, allocations: 56.66 kB / 0.8586 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.7341, allocations: 32 kB / 0.8587 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.7375, allocations: 2.043 MB / 0.8607 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007024/0.7445, allocations: 3.982 MB / 0.8646 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/0.7472, allocations: 1.349 MB / 0.8659 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.7482, allocations: 0.4935 MB / 0.8664 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.7484, allocations: 45.27 kB / 0.8664 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/0.75, allocations: 0.9906 MB / 0.8674 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=136): time 3.666e-06/0.75, allocations: 4 kB / 0.8674 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=136): time 0.005779/0.7557, allocations: 1.982 MB / 0.8693 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.7559, allocations: 355.5 kB / 0.8696 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.7576, allocations: 1.125 MB / 0.8707 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.7577, allocations: 53.7 kB / 0.8708 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/0.7583, allocations: 0.6393 MB / 0.8714 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.7587, allocations: 475.9 kB / 0.8719 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.7591, allocations: 254.8 kB / 0.8721 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7593, allocations: 353.9 kB / 0.8725 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009748/0.7603, allocations: 434.4 kB / 0.8729 GB, free: 4.812 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.7616, allocations: 0.8995 MB / 0.8737 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002092/0.7637, allocations: 1.066 MB / 0.8748 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.7637, allocations: 4 kB / 0.8748 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003694/0.7674, allocations: 1.435 MB / 0.8762 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.7674, allocations: 8 kB / 0.8762 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.7674, allocations: 3.75 kB / 0.8762 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.7685, allocations: 165.7 kB / 0.8764 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.7696, allocations: 275.6 kB / 0.8766 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.7736, allocations: 3.057 MB / 0.8796 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7749, allocations: 153.9 kB / 0.8798 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.775, allocations: 56.03 kB / 0.8798 GB, free: 13.29 MB / 0.6544 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.000783/0.7758, allocations: 393 kB / 0.8802 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/0.7761, allocations: 159 kB / 0.8803 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.7809, allocations: 1.98 MB / 0.8823 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.7809, allocations: 16 kB / 0.8823 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.7809, allocations: 0 / 0.8823 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.7809, allocations: 11.97 kB / 0.8823 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001913/0.7828, allocations: 1.245 MB / 0.8835 GB, free: 9.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.7828, allocations: 4 kB / 0.8835 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.784, allocations: 275.5 kB / 0.8838 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000834/0.7849, allocations: 149.6 kB / 0.8839 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.785, allocations: 43.97 kB / 0.884 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003896/0.7889, allocations: 3.117 MB / 0.887 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7889, allocations: 4.062 kB / 0.887 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.7927, allocations: 1.632 MB / 0.8886 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/0.7935, allocations: 367 kB / 0.889 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.7937, allocations: 43.86 kB / 0.889 GB, free: 3.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.7947, allocations: 108.5 kB / 0.8891 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.795, allocations: 117.8 kB / 0.8892 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.7951, allocations: 63.95 kB / 0.8893 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001246/0.7963, allocations: 0.7898 MB / 0.89 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.7963, allocations: 0 / 0.89 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001395/0.7977, allocations: 475.4 kB / 0.8905 GB, free: 2.008 MB / 0.6544 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.006039/0.8038, allocations: 2.767 MB / 0.8932 GB, free: 15.45 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003011/0.8068, allocations: 1.397 MB / 0.8946 GB, free: 14.04 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.8068, allocations: 4.188 kB / 0.8946 GB, free: 14.04 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.8085, allocations: 0.9184 MB / 0.8955 GB, free: 13.09 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.8106, allocations: 0.5505 MB / 0.896 GB, free: 12.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/0.8307, allocations: 10.6 MB / 0.9064 GB, free: 1.777 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.8315, allocations: 0.7121 MB / 0.907 GB, free: 1.031 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001561/0.833, allocations: 0.5039 MB / 0.9075 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009931/0.834, allocations: 0.6749 MB / 0.9082 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.834, allocations: 0 / 0.9082 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/0.9588, allocations: 39.3 MB / 0.9466 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/16.12, allocations: 0 / 0.9466 GB, free: 8.93 MB / 0.7169 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: 20.017319616046734] Failed to read output from testmodel.py, exit status != 0: 16.414397520013154 16.439322962 15.713272501 Calling exit ...