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.001258/0.001258, 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.001415/0.001415, allocations: 213.8 kB / 22.25 MB, free: 3.711 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.9734/0.9734, 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.7782/0.7782, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.001101/0.001101, allocations: 62.81 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5445, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005396/0.5499, allocations: 4.8 MB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1502/0.7001, allocations: 154.1 MB / 0.9731 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007068/0.7008, allocations: 23.81 kB / 0.9731 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005004/0.7013, allocations: 194.2 kB / 0.9733 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.7026, allocations: 0.5429 MB / 0.9738 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.7043, allocations: 0.9086 MB / 0.9747 GB, free: 4.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001491/0.7057, allocations: 1.413 MB / 0.9761 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.7063, allocations: 364.5 kB / 0.9764 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.7069, allocations: 0.5022 MB / 0.9769 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005746/0.7075, allocations: 0.5057 MB / 0.9774 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.7077, allocations: 112 kB / 0.9775 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.7089, allocations: 0.9168 MB / 0.9784 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002111/0.7091, allocations: 295.1 kB / 0.9787 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.7095, allocations: 0.5363 MB / 0.9792 GB, free: 180 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001994/0.7114, allocations: 1.855 MB / 0.981 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.7115, allocations: 0 / 0.981 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7115, allocations: 0 / 0.981 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.7115, 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.001988/0.7135, allocations: 1.458 MB / 0.9824 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7135, allocations: 12.03 kB / 0.9824 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.7136, allocations: 126.8 kB / 0.9826 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009041/0.7145, allocations: 268 kB / 0.9828 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.7153, allocations: 0.7296 MB / 0.9835 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.7153, allocations: 58 kB / 0.9836 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/0.7154, allocations: 75.94 kB / 0.9837 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009885/0.7164, allocations: 0.8919 MB / 0.9845 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.7164, allocations: 0 / 0.9845 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.7164, allocations: 32 kB / 0.9846 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.7165, allocations: 20 kB / 0.9846 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.7177, allocations: 1.128 MB / 0.9857 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.7201, allocations: 2.555 MB / 0.9882 GB, free: 6.762 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.7211, allocations: 0.7851 MB / 0.9889 GB, free: 5.973 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/0.7215, allocations: 302.7 kB / 0.9892 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.163e-05/0.7216, allocations: 32.53 kB / 0.9893 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007883/0.7224, allocations: 0.5303 MB / 0.9898 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=82): time 1.813e-06/0.7224, allocations: 0 / 0.9898 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=82): time 0.00204/0.7244, allocations: 1.216 MB / 0.991 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.7245, allocations: 188.6 kB / 0.9912 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.7251, allocations: 0.6724 MB / 0.9918 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.967e-05/0.7252, allocations: 45.64 kB / 0.9919 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.7254, allocations: 393.1 kB / 0.9922 GB, free: 2.523 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.7256, allocations: 273.7 kB / 0.9925 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.7257, allocations: 158.6 kB / 0.9926 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7259, allocations: 394.7 kB / 0.993 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.7263, allocations: 281.8 kB / 0.9933 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.7267, allocations: 391.4 kB / 0.9937 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.7276, allocations: 0.6432 MB / 0.9943 GB, free: 360 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7276, allocations: 0 / 0.9943 GB, free: 360 kB / 0.7605 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001368/0.729, allocations: 0.8764 MB / 0.9951 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.729, allocations: 8.125 kB / 0.9951 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.729, allocations: 4 kB / 0.9952 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002993/0.7293, allocations: 80.77 kB / 0.9952 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.7297, allocations: 171.7 kB / 0.9954 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.7313, allocations: 1.56 MB / 0.9969 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.7317, allocations: 91.52 kB / 0.997 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.7317, allocations: 39.91 kB / 0.997 GB, free: 13.4 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.0002695/0.732, allocations: 279.2 kB / 0.9973 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.7321, allocations: 87.44 kB / 0.9974 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.7337, allocations: 1.207 MB / 0.9986 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.7337, allocations: 8 kB / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7337, allocations: 4 kB / 0.9986 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.7337, allocations: 7.922 kB / 0.9986 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.7344, allocations: 0.8918 MB / 0.9995 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.7344, allocations: 7.984 kB / 0.9995 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.7347, allocations: 167.7 kB / 0.9996 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/0.735, allocations: 72.78 kB / 0.9997 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-05/0.7351, allocations: 23.98 kB / 0.9997 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.7363, allocations: 1.57 MB / 1.001 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.7363, allocations: 4.031 kB / 1.001 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.7375, allocations: 1.01 MB / 1.002 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.7378, allocations: 211.1 kB / 1.002 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.7379, allocations: 19.95 kB / 1.002 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.7382, allocations: 75.97 kB / 1.003 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7383, allocations: 80.86 kB / 1.003 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.7383, allocations: 39.97 kB / 1.003 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004095/0.7388, allocations: 491 kB / 1.003 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.7388, allocations: 0 / 1.003 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000594/0.7394, allocations: 327.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.002414/0.7418, allocations: 2.094 MB / 1.005 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.743, allocations: 0.839 MB / 1.006 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.743, allocations: 0 / 1.006 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.7436, allocations: 0.5355 MB / 1.007 GB, free: 3.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.7442, allocations: 310.3 kB / 1.007 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007302/0.7515, allocations: 6.489 MB / 1.013 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.752, allocations: 1.02 MB / 1.014 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000542/0.7525, allocations: 283 kB / 1.015 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.7529, allocations: 387.3 kB / 1.015 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of SimCode: time 7.71e-07/0.7529, allocations: 0 / 1.015 GB, free: 10.7 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03773/0.7906, allocations: 23.53 MB / 1.038 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.752/9.543, allocations: 0.7812 kB / 1.038 GB, free: 3.324 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 & /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: 12.5990850829985] Failed to read output from testmodel.py, exit status != 0: 9.696214206982404 9.705583343 8.992314357 Calling exit ...