Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.001179/0.001179, 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.001564/0.001564, 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.9938/0.9938, allocations: 230.6 MB / 256 MB, free: 9.812 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.8145/0.8145, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001358/0.001358, allocations: 66.77 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5089, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002096/0.511, allocations: 1.649 MB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.5118, allocations: 0.6063 MB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.5119, allocations: 0 / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.5119, allocations: 6.141 kB / 0.8201 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002641/0.5122, allocations: 47.53 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.5123, allocations: 47.92 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.5125, allocations: 110.2 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.5126, allocations: 11.47 kB / 0.8203 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.5127, allocations: 51.59 kB / 0.8203 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.5129, allocations: 56.42 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.5129, allocations: 11.5 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.409e-05/0.5129, allocations: 17.55 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.513, allocations: 19.98 kB / 0.8204 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.513, allocations: 48.25 kB / 0.8205 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.5132, allocations: 103.7 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5132, allocations: 0.9375 kB / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5132, allocations: 0 / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.5132, allocations: 0 / 0.8206 GB, free: 15.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005793/0.5138, allocations: 342.2 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.5139, allocations: 9.25 kB / 0.8209 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.145e-05/0.5139, allocations: 36.86 kB / 0.8209 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.514, allocations: 18.39 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.5141, allocations: 124.6 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5142, allocations: 12.84 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.5142, allocations: 2.688 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5143, allocations: 91.77 kB / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5143, allocations: 0 / 0.8212 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.5144, allocations: 8.641 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5144, allocations: 3.406 kB / 0.8212 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.5144, allocations: 48.06 kB / 0.8212 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.5149, allocations: 310.2 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.5152, allocations: 110 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.5152, allocations: 44.22 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5153, allocations: 0 / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.5155, allocations: 99.09 kB / 0.8218 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.5155, allocations: 0 / 0.8218 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0002753/0.5158, allocations: 150.1 kB / 0.8219 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.5158, allocations: 56.02 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.973e-05/0.5159, allocations: 130.5 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.5159, allocations: 29.64 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.5159, allocations: 94.28 kB / 0.8222 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.516, allocations: 38.25 kB / 0.8223 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.516, allocations: 25.92 kB / 0.8223 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.5161, allocations: 318.7 kB / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.5161, allocations: 30.56 kB / 0.8226 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.174e-05/0.5162, allocations: 29.77 kB / 0.8226 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.042e-05/0.5163, allocations: 65.94 kB / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5163, allocations: 3.938 kB / 0.8227 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001335/0.5164, allocations: 112.8 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5164, allocations: 4.031 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5164, allocations: 3.031 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5164, allocations: 0.7031 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-05/0.5165, allocations: 20.69 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5165, allocations: 1.375 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.5166, allocations: 9.797 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5166, allocations: 13.09 kB / 0.8229 GB, free: 13.56 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.5167, allocations: 122.4 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.5167, allocations: 7.875 kB / 0.823 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.5169, allocations: 141.3 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5169, allocations: 2.156 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5169, allocations: 0 / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5169, allocations: 5.016 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5171, allocations: 189.8 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5171, allocations: 4 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.5171, allocations: 22.23 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5171, allocations: 0.7188 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5171, allocations: 4.734 kB / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.5171, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.5171, allocations: 0 / 0.8233 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.5173, allocations: 165.2 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/0.5173, allocations: 9.031 kB / 0.8235 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.5174, allocations: 12.59 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.462e-05/0.5174, allocations: 7.594 kB / 0.8235 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.5175, allocations: 18.34 kB / 0.8235 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.5175, allocations: 5.203 kB / 0.8236 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.5175, allocations: 98.27 kB / 0.8236 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5175, allocations: 3.938 kB / 0.8236 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000152/0.5177, allocations: 27.52 kB / 0.8237 GB, free: 12.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006635/0.5184, allocations: 0.6916 MB / 0.8244 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.5185, allocations: 86.17 kB / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5185, allocations: 0 / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.5186, allocations: 47.53 kB / 0.8245 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.5187, allocations: 13.88 kB / 0.8245 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.52, allocations: 1.457 MB / 0.8259 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.5201, allocations: 0.7029 MB / 0.8266 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.845e-05/0.5202, allocations: 12.72 kB / 0.8266 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.5202, allocations: 29.14 kB / 0.8266 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of SimCode: time 6.81e-07/0.5203, allocations: 0 / 0.8266 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.5395, allocations: 2.464 MB / 0.829 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/7.079, allocations: 8.016 kB / 0.8291 GB, free: 9.789 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.077402628958225] Failed to read output from testmodel.py, exit status != 0: 7.156745014945045 7.167419486 6.652068741 Calling exit ...