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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8859/0.8859, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 64.12 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1294, allocations: 80.92 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.005361/0.1348, allocations: 4.184 MB / 0.5885 GB, free: 268 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3538/0.4886, allocations: 150.5 MB / 0.7355 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.4893, allocations: 20.12 kB / 0.7355 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.4899, allocations: 168.9 kB / 0.7357 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.4914, allocations: 480.8 kB / 0.7361 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4932, allocations: 0.7859 MB / 0.7369 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001266/0.4944, allocations: 1.213 MB / 0.7381 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007113/0.4952, allocations: 0.5482 MB / 0.7386 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004382/0.4956, allocations: 419.3 kB / 0.739 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.4961, allocations: 436.7 kB / 0.7394 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.4962, allocations: 96.81 kB / 0.7395 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.4973, allocations: 0.8344 MB / 0.7403 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002215/0.4975, allocations: 259.8 kB / 0.7406 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.4979, allocations: 483.5 kB / 0.7411 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.4994, allocations: 1.604 MB / 0.7426 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4994, allocations: 0 / 0.7426 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4994, allocations: 0 / 0.7426 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.4995, allocations: 1.375 kB / 0.7426 GB, free: 8.219 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001953/0.5014, allocations: 1.361 MB / 0.7439 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.5015, allocations: 9.438 kB / 0.744 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.5016, allocations: 114.8 kB / 0.7441 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.5027, allocations: 197.3 kB / 0.7443 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008434/0.5035, allocations: 0.7023 MB / 0.7449 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.5036, allocations: 50.78 kB / 0.745 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.5037, allocations: 68.72 kB / 0.7451 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.505, allocations: 0.8412 MB / 0.7459 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.505, allocations: 0 / 0.7459 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/0.5051, allocations: 27.78 kB / 0.7459 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.5051, allocations: 18.19 kB / 0.7459 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.5068, allocations: 1.079 MB / 0.747 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.5099, allocations: 2.361 MB / 0.7493 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5112, allocations: 0.7369 MB / 0.75 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006026/0.5118, allocations: 314.1 kB / 0.7503 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.5119, allocations: 32.69 kB / 0.7503 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/0.5128, allocations: 460.3 kB / 0.7508 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.5128, allocations: 8 kB / 0.7508 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003249/0.516, allocations: 1.159 MB / 0.7519 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.5161, allocations: 192.6 kB / 0.7521 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.5168, allocations: 0.6017 MB / 0.7527 GB, free: 164 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.5168, allocations: 41.64 kB / 0.7527 GB, free: 116 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.5171, allocations: 360.5 kB / 0.7531 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.5173, allocations: 244.4 kB / 0.7533 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.5175, allocations: 134.3 kB / 0.7534 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5177, allocations: 382.8 kB / 0.7538 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005751/0.5183, allocations: 245.2 kB / 0.754 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.5189, allocations: 351.6 kB / 0.7544 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.5201, allocations: 0.5871 MB / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5202, allocations: 0 / 0.7549 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001914/0.5221, allocations: 0.7859 MB / 0.7557 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5221, allocations: 7.938 kB / 0.7557 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.5221, allocations: 4 kB / 0.7557 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005698/0.5227, allocations: 88.88 kB / 0.7558 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00064/0.5233, allocations: 151.8 kB / 0.7559 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.5253, allocations: 1.646 MB / 0.7575 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006114/0.5259, allocations: 87.45 kB / 0.7576 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.526, allocations: 27.98 kB / 0.7577 GB, free: 10.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0003237/0.5263, allocations: 247.7 kB / 0.7579 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.5265, allocations: 79.06 kB / 0.758 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.5291, allocations: 1.109 MB / 0.7591 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5291, allocations: 8 kB / 0.7591 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5291, allocations: 0 / 0.7591 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5292, allocations: 5.016 kB / 0.7591 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008727/0.53, allocations: 0.8449 MB / 0.7599 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.53, allocations: 0 / 0.7599 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/0.5307, allocations: 155.8 kB / 0.76 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.5311, allocations: 80.78 kB / 0.7601 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.5312, allocations: 19.98 kB / 0.7601 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.5329, allocations: 1.67 MB / 0.7618 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5329, allocations: 3.938 kB / 0.7618 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001937/0.5348, allocations: 0.9045 MB / 0.7627 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003067/0.5351, allocations: 267.7 kB / 0.7629 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5353, allocations: 20 kB / 0.7629 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005657/0.5358, allocations: 63.58 kB / 0.763 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.536, allocations: 68.91 kB / 0.7631 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.536, allocations: 27.98 kB / 0.7631 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004643/0.5365, allocations: 443 kB / 0.7635 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5365, allocations: 0 / 0.7635 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007114/0.5372, allocations: 291.4 kB / 0.7638 GB, free: 4.293 MB / 0.5762 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,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 2 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003357/0.5406, allocations: 1.969 MB / 0.7657 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.5428, allocations: 0.9814 MB / 0.7667 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5429, allocations: 0 / 0.7667 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000934/0.5438, allocations: 0.5081 MB / 0.7672 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5448, allocations: 284.9 kB / 0.7674 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.5551, allocations: 6.189 MB / 0.7735 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.5556, allocations: 0.9937 MB / 0.7744 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007983/0.5564, allocations: 270.2 kB / 0.7747 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.5568, allocations: 343.3 kB / 0.775 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/0.5569, allocations: 0 / 0.775 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.597/1.154, allocations: 20.45 MB / 0.795 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.96, allocations: 7.359 kB / 0.795 GB, free: 4.699 MB / 0.6075 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1)