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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009297/0.0009296, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.3 MB / 423.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003731, allocations: 12 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.431, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006131/0.4372, allocations: 5.373 MB / 0.5884 GB, free: 124 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1625/0.5998, allocations: 139.2 MB / 0.7244 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.6012, allocations: 31.81 kB / 0.7244 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007606/0.602, allocations: 234.1 kB / 0.7246 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.6037, allocations: 0.5273 MB / 0.7251 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.6064, allocations: 1.002 MB / 0.7261 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002203/0.6086, allocations: 1.981 MB / 0.7281 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.6097, allocations: 0.7425 MB / 0.7288 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008302/0.6106, allocations: 0.5522 MB / 0.7293 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.6113, allocations: 0.579 MB / 0.7299 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.6114, allocations: 44 kB / 0.7299 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.6128, allocations: 0.7333 MB / 0.7306 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.6132, allocations: 306.6 kB / 0.7309 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.6135, allocations: 304.8 kB / 0.7312 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.6154, allocations: 1.964 MB / 0.7331 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6154, allocations: 3.938 kB / 0.7331 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6154, allocations: 4 kB / 0.7331 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.6155, allocations: 0 / 0.7331 GB, free: 6.574 MB / 0.5606 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.003005/0.6185, allocations: 1.808 MB / 0.7349 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.6185, allocations: 12.03 kB / 0.7349 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002397/0.6188, allocations: 202.5 kB / 0.7351 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.6205, allocations: 377.3 kB / 0.7355 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.6221, allocations: 1.154 MB / 0.7366 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.6222, allocations: 98.69 kB / 0.7367 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.6224, allocations: 128 kB / 0.7368 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.625, allocations: 1.528 MB / 0.7383 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.625, allocations: 0 / 0.7383 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6251, allocations: 60 kB / 0.7384 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.6252, allocations: 32 kB / 0.7384 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.6283, allocations: 2.047 MB / 0.7404 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006959/0.6353, allocations: 4.511 MB / 0.7448 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.6379, allocations: 1.428 MB / 0.7462 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000949/0.6389, allocations: 0.5437 MB / 0.7467 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.639, allocations: 57.19 kB / 0.7468 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/0.6404, allocations: 0.7972 MB / 0.7476 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 2.996e-06/0.6404, allocations: 0 / 0.7476 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.005243/0.6457, allocations: 2.13 MB / 0.7496 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.6459, allocations: 351.3 kB / 0.75 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.6473, allocations: 1.064 MB / 0.751 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.6475, allocations: 49.7 kB / 0.7511 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/0.6482, allocations: 0.6263 MB / 0.7517 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004471/0.6486, allocations: 445.5 kB / 0.7521 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.888e-05/0.6487, allocations: 28 kB / 0.7521 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6489, allocations: 353.9 kB / 0.7525 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009464/0.6498, allocations: 434.4 kB / 0.7529 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6509, allocations: 0.6529 MB / 0.7535 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.6519, allocations: 0.5168 MB / 0.754 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6519, allocations: 0 / 0.754 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.003271/0.6552, allocations: 1.428 MB / 0.7554 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.6553, allocations: 7.984 kB / 0.7554 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6553, allocations: 4 kB / 0.7554 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009825/0.6563, allocations: 169.5 kB / 0.7556 GB, free: 15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6574, allocations: 275.6 kB / 0.7559 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00369/0.6611, allocations: 3.068 MB / 0.7588 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6623, allocations: 162.9 kB / 0.759 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.6625, allocations: 55.97 kB / 0.7591 GB, free: 11.17 MB / 0.5919 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 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009888/0.6635, allocations: 377.5 kB / 0.7594 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.6639, allocations: 158 kB / 0.7596 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.6686, allocations: 1.995 MB / 0.7615 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6686, allocations: 16 kB / 0.7615 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.6687, allocations: 4 kB / 0.7615 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.6687, allocations: 7.969 kB / 0.7615 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/0.6707, allocations: 1.483 MB / 0.763 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.6708, allocations: 3.938 kB / 0.763 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6718, allocations: 279.6 kB / 0.7633 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/0.6728, allocations: 169.5 kB / 0.7634 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.6729, allocations: 47.97 kB / 0.7635 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003446/0.6764, allocations: 3.111 MB / 0.7665 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6764, allocations: 3.938 kB / 0.7665 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.68, allocations: 1.631 MB / 0.7681 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007952/0.6808, allocations: 462.4 kB / 0.7685 GB, free: 1.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.6811, allocations: 32 kB / 0.7686 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.6822, allocations: 133.6 kB / 0.7687 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.6824, allocations: 117.8 kB / 0.7688 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/0.6825, allocations: 60.09 kB / 0.7689 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001186/0.6837, allocations: 0.7379 MB / 0.7696 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6837, allocations: 0 / 0.7696 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001424/0.6852, allocations: 470.9 kB / 0.77 GB, free: 15.52 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005084/0.6903, allocations: 2.719 MB / 0.7727 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002922/0.6932, allocations: 1.451 MB / 0.7741 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.6932, allocations: 4 kB / 0.7741 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.6949, allocations: 0.9536 MB / 0.775 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/0.6971, allocations: 496.4 kB / 0.7755 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.7169, allocations: 9.059 MB / 0.7844 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.7181, allocations: 1.29 MB / 0.7856 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001877/0.72, allocations: 0.4944 MB / 0.7861 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.721, allocations: 0.6711 MB / 0.7868 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of SimCode: time 6.72e-07/0.721, allocations: 0 / 0.7868 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3918/1.113, allocations: 36.54 MB / 0.8225 GB, free: 214 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001339/1.113, allocations: 254.4 kB / 0.8227 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.871, allocations: 4 kB / 0.8227 GB, free: 213.7 MB / 0.6387 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) Environment - environmentSimulation: