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.0007207/0.0007207, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001234/0.001234, allocations: 222.3 kB / 22.26 MB, free: 3.699 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 1.02/1.02, allocations: 230.6 MB / 256 MB, free: 9.816 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.8375/0.8375, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.00104/0.00104, allocations: 69.72 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.537, allocations: 102 MB / 0.8178 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005024/0.542, allocations: 4.798 MB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1375/0.6796, allocations: 154.1 MB / 0.9731 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.6805, allocations: 23.81 kB / 0.9731 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.681, allocations: 190.2 kB / 0.9733 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.6825, allocations: 0.556 MB / 0.9738 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.6843, allocations: 0.8941 MB / 0.9747 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.6855, allocations: 1.413 MB / 0.9761 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.6861, allocations: 380.3 kB / 0.9764 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005412/0.6866, allocations: 0.4905 MB / 0.9769 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004804/0.6871, allocations: 0.4939 MB / 0.9774 GB, free: 2.051 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.6872, allocations: 116 kB / 0.9775 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.6885, allocations: 0.9285 MB / 0.9784 GB, free: 1.008 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.6887, allocations: 291.1 kB / 0.9787 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.6891, allocations: 0.5402 MB / 0.9792 GB, free: 184 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.691, allocations: 1.859 MB / 0.981 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.691, allocations: 0 / 0.981 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.423e-06/0.691, allocations: 0 / 0.981 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.6911, allocations: 0 / 0.981 GB, free: 14.32 MB / 0.7605 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.001756/0.6928, allocations: 1.454 MB / 0.9824 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6929, allocations: 12.03 kB / 0.9825 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.693, allocations: 122.8 kB / 0.9826 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009617/0.6939, allocations: 271.9 kB / 0.9828 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.6948, allocations: 0.7219 MB / 0.9835 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.6948, allocations: 61.94 kB / 0.9836 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.6949, allocations: 72 kB / 0.9837 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.696, allocations: 0.8958 MB / 0.9845 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.696, allocations: 0 / 0.9845 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.696, allocations: 32 kB / 0.9846 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.6961, allocations: 20 kB / 0.9846 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.6973, allocations: 1.128 MB / 0.9857 GB, free: 9.422 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.7013, allocations: 2.558 MB / 0.9882 GB, free: 6.773 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.7025, allocations: 0.7812 MB / 0.9889 GB, free: 5.988 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004201/0.7029, allocations: 302.7 kB / 0.9892 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.772e-05/0.703, allocations: 40.53 kB / 0.9893 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007021/0.7037, allocations: 0.5264 MB / 0.9898 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/0.7037, allocations: 0 / 0.9898 GB, free: 5.105 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82): time 0.002197/0.7059, allocations: 1.224 MB / 0.991 GB, free: 3.871 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.706, allocations: 192.5 kB / 0.9912 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/0.7066, allocations: 0.6685 MB / 0.9918 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.7067, allocations: 41.7 kB / 0.9919 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.7069, allocations: 393.1 kB / 0.9922 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.7071, allocations: 273.7 kB / 0.9925 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.7072, allocations: 150.6 kB / 0.9926 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7074, allocations: 398.7 kB / 0.993 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004205/0.7078, allocations: 277.8 kB / 0.9933 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.7083, allocations: 399.4 kB / 0.9937 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7094, allocations: 0.6432 MB / 0.9943 GB, free: 368 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7094, allocations: 0 / 0.9943 GB, free: 368 kB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001355/0.7107, allocations: 0.8803 MB / 0.9952 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.7107, allocations: 8 kB / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7108, allocations: 128 / 0.9952 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.7111, allocations: 88.75 kB / 0.9952 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.7115, allocations: 171.7 kB / 0.9954 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.713, allocations: 1.55 MB / 0.9969 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.7134, allocations: 97.89 kB / 0.997 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-05/0.7135, allocations: 35.91 kB / 0.9971 GB, free: 13.41 MB / 0.7761 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.0003344/0.7138, allocations: 275.4 kB / 0.9973 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.7139, allocations: 103.3 kB / 0.9974 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.7157, allocations: 1.199 MB / 0.9986 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.7157, allocations: 8 kB / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.7157, allocations: 0 / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.7157, allocations: 7.922 kB / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.7164, allocations: 0.8957 MB / 0.9995 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.7164, allocations: 0 / 0.9995 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/0.7168, allocations: 175.7 kB / 0.9996 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/0.717, allocations: 68.78 kB / 0.9997 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.7171, allocations: 23.98 kB / 0.9997 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.7184, allocations: 1.574 MB / 1.001 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7184, allocations: 3.984 kB / 1.001 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.7197, allocations: 1.01 MB / 1.002 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.72, allocations: 207.1 kB / 1.002 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.7201, allocations: 27.95 kB / 1.002 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.7204, allocations: 79.97 kB / 1.003 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.7205, allocations: 76.86 kB / 1.003 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.7206, allocations: 39.97 kB / 1.003 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004165/0.721, allocations: 487 kB / 1.003 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.721, allocations: 0 / 1.003 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000666/0.7217, allocations: 331.2 kB / 1.003 GB, free: 6.648 MB / 0.7761 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.002494/0.7242, allocations: 2.084 MB / 1.005 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.7254, allocations: 0.8354 MB / 1.006 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7254, allocations: 4 kB / 1.006 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.726, allocations: 0.5313 MB / 1.007 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007384/0.7268, allocations: 302.4 kB / 1.007 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007691/0.7345, allocations: 6.496 MB / 1.013 GB, free: 12.42 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.7349, allocations: 1.02 MB / 1.014 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006233/0.7355, allocations: 275 kB / 1.015 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.7361, allocations: 395.3 kB / 1.015 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of SimCode: time 1.332e-06/0.7361, allocations: 0 / 1.015 GB, free: 10.71 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.7786, allocations: 23.53 MB / 1.038 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.914/9.693, allocations: 3.5 kB / 1.038 GB, free: 3.352 MB / 0.8073 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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: 12.981167471036315] Failed to read output from testmodel.py, exit status != 0: 9.852201522095129 9.861205709 9.167878883 Calling exit ...