Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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.0007563/0.0007563, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0007865/0.0007865, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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 0.9061/0.9061, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7345/0.7345, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",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.0009591/0.0009591, allocations: 67.22 kB / 0.7181 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4593, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005108/0.4644, allocations: 4.302 MB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1259/0.5903, allocations: 132.7 MB / 0.9516 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007245/0.591, allocations: 23.81 kB / 0.9516 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.5916, allocations: 194.2 kB / 0.9518 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.593, allocations: 0.5538 MB / 0.9523 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.5947, allocations: 0.876 MB / 0.9532 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.5959, allocations: 1.409 MB / 0.9545 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.5967, allocations: 352.5 kB / 0.9549 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006334/0.5973, allocations: 0.4906 MB / 0.9554 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.5979, allocations: 465.8 kB / 0.9558 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.598, allocations: 112 kB / 0.9559 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.5994, allocations: 0.8232 MB / 0.9567 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.5996, allocations: 303 kB / 0.957 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.6, allocations: 437.8 kB / 0.9574 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.602, allocations: 1.855 MB / 0.9592 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.602, allocations: 0 / 0.9592 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.314e-06/0.602, allocations: 0 / 0.9592 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.274e-05/0.602, allocations: 0 / 0.9592 GB, free: 4.305 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.001954/0.604, allocations: 1.454 MB / 0.9606 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.604, allocations: 15.97 kB / 0.9607 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/0.6041, allocations: 122.8 kB / 0.9608 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.6052, allocations: 272 kB / 0.961 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.6063, allocations: 0.718 MB / 0.9617 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.6063, allocations: 58 kB / 0.9618 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.6064, allocations: 75.94 kB / 0.9619 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.6075, allocations: 1.147 MB / 0.963 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6075, allocations: 0 / 0.963 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.6075, allocations: 35.98 kB / 0.963 GB, free: 248 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.6076, allocations: 20 kB / 0.963 GB, free: 228 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/0.6088, allocations: 1.089 MB / 0.9641 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.6112, allocations: 2.225 MB / 0.9663 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.6122, allocations: 0.7864 MB / 0.967 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/0.6126, allocations: 305.4 kB / 0.9673 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.525e-05/0.6127, allocations: 28.56 kB / 0.9674 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006783/0.6134, allocations: 0.623 MB / 0.968 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.6134, allocations: 4 kB / 0.968 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.002384/0.6157, allocations: 1.216 MB / 0.9692 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.6158, allocations: 192.6 kB / 0.9693 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.6164, allocations: 0.6724 MB / 0.97 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.6165, allocations: 41.7 kB / 0.97 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.6167, allocations: 397.1 kB / 0.9704 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.6168, allocations: 277.7 kB / 0.9707 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.617, allocations: 162.5 kB / 0.9708 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.6171, allocations: 394.7 kB / 0.9712 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.6175, allocations: 277.8 kB / 0.9715 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/0.618, allocations: 0.5077 MB / 0.972 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.6188, allocations: 0.6471 MB / 0.9726 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6188, allocations: 0 / 0.9726 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001291/0.6201, allocations: 0.8765 MB / 0.9735 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6201, allocations: 7.984 kB / 0.9735 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6202, allocations: 0 / 0.9735 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.6205, allocations: 92.83 kB / 0.9736 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.6209, allocations: 167.8 kB / 0.9737 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.6222, allocations: 1.534 MB / 0.9752 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.6227, allocations: 95.58 kB / 0.9753 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.6227, allocations: 39.97 kB / 0.9754 GB, free: 3.203 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.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 (89): * Single equations (assignments): 88 * 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.0005869/0.6233, allocations: 267.5 kB / 0.9756 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6234, allocations: 99.41 kB / 0.9757 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.6251, allocations: 1.203 MB / 0.9769 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.6251, allocations: 12 kB / 0.9769 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6251, allocations: 0 / 0.9769 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6251, allocations: 7.922 kB / 0.9769 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.6258, allocations: 0.7555 MB / 0.9776 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.6258, allocations: 4 kB / 0.9776 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.6261, allocations: 155.8 kB / 0.9778 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.6264, allocations: 72.78 kB / 0.9779 GB, free: 0.5664 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.6264, allocations: 31.97 kB / 0.9779 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.6276, allocations: 1.566 MB / 0.9794 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6276, allocations: 4.031 kB / 0.9794 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6289, allocations: 1.006 MB / 0.9804 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.6292, allocations: 219 kB / 0.9806 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/0.6293, allocations: 20 kB / 0.9806 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.6296, allocations: 73.94 kB / 0.9807 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6297, allocations: 80.8 kB / 0.9808 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.6298, allocations: 39.97 kB / 0.9808 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004132/0.6302, allocations: 487 kB / 0.9813 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6302, allocations: 4 kB / 0.9813 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006342/0.6308, allocations: 335.2 kB / 0.9816 GB, free: 12.59 MB / 0.7605 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,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.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.0027/0.6335, allocations: 2.103 MB / 0.9837 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.6347, allocations: 0.8467 MB / 0.9845 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6347, allocations: 0 / 0.9845 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005841/0.6353, allocations: 0.5316 MB / 0.985 GB, free: 9.301 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.636, allocations: 320.1 kB / 0.9853 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007364/0.6434, allocations: 6.485 MB / 0.9916 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.6437, allocations: 436.2 kB / 0.9921 GB, free: 1.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006008/0.6443, allocations: 283 kB / 0.9923 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.6446, allocations: 387.3 kB / 0.9927 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of SimCode: time 1.333e-06/0.6446, allocations: 3.938 kB / 0.9927 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.6909, allocations: 24.46 MB / 1.017 GB, free: 8.984 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.697, allocations: 3.938 kB / 1.017 GB, free: 8.98 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.52148131094873] Failed to read output from testmodel.py, exit status != 0: 8.845385662280023 8.853184347 8.249437069 Calling exit ...