Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001131/0.001131, allocations: 194.7 kB / 16.14 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8169/0.8169, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 60.06 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1385, allocations: 80.93 MB / 0.5838 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005943/0.1445, allocations: 4.912 MB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3449/0.4894, allocations: 148.5 MB / 0.7336 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.4902, allocations: 17.41 kB / 0.7336 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006177/0.4909, allocations: 148.1 kB / 0.7338 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4925, allocations: 481.9 kB / 0.7342 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.4944, allocations: 0.8178 MB / 0.735 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.496, allocations: 1.445 MB / 0.7364 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.4972, allocations: 1.114 MB / 0.7375 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006816/0.4979, allocations: 0.6005 MB / 0.7381 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005511/0.4985, allocations: 0.6802 MB / 0.7388 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.4986, allocations: 105.8 kB / 0.7389 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.4993, allocations: 451 kB / 0.7393 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.4996, allocations: 352.8 kB / 0.7396 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.5002, allocations: 0.7316 MB / 0.7403 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.5019, allocations: 2.186 MB / 0.7425 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5019, allocations: 3.984 kB / 0.7425 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5019, allocations: 2.125 kB / 0.7425 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.5019, allocations: 0 / 0.7425 GB, free: 8.23 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002683/0.5046, allocations: 1.826 MB / 0.7443 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5046, allocations: 9.812 kB / 0.7443 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002234/0.5049, allocations: 217.9 kB / 0.7445 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009075/0.5058, allocations: 239.7 kB / 0.7447 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.5069, allocations: 0.8966 MB / 0.7456 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.507, allocations: 139 kB / 0.7457 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.5071, allocations: 142.5 kB / 0.7459 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002079/0.5092, allocations: 1.471 MB / 0.7473 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.5092, allocations: 0 / 0.7473 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.5094, allocations: 56.69 kB / 0.7473 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.5094, allocations: 37.12 kB / 0.7474 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.5115, allocations: 1.496 MB / 0.7488 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.5169, allocations: 3.934 MB / 0.7527 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.5183, allocations: 0.9093 MB / 0.7536 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.5189, allocations: 368.2 kB / 0.7539 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-05/0.519, allocations: 44.84 kB / 0.754 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009356/0.5199, allocations: 0.5475 MB / 0.7545 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.164e-06/0.5199, allocations: 0 / 0.7545 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003121/0.5231, allocations: 1.368 MB / 0.7558 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.171e-05/0.5232, allocations: 193.7 kB / 0.756 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.5241, allocations: 0.7629 MB / 0.7568 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.5241, allocations: 41.7 kB / 0.7568 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.5245, allocations: 0.5814 MB / 0.7574 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.5247, allocations: 311.4 kB / 0.7577 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.525, allocations: 182.4 kB / 0.7578 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.5251, allocations: 337.9 kB / 0.7582 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.5257, allocations: 310.4 kB / 0.7585 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/0.5264, allocations: 428.1 kB / 0.7589 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.5276, allocations: 0.7422 MB / 0.7596 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5276, allocations: 0 / 0.7596 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002059/0.5297, allocations: 0.9755 MB / 0.7605 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.5297, allocations: 8 kB / 0.7606 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5297, allocations: 0 / 0.7606 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.5303, allocations: 88.77 kB / 0.7606 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/0.5311, allocations: 193.5 kB / 0.7608 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.5329, allocations: 1.529 MB / 0.7623 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.5336, allocations: 95.56 kB / 0.7624 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.5337, allocations: 39.97 kB / 0.7624 GB, free: 5.66 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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.0004546/0.5342, allocations: 323.9 kB / 0.7628 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.5344, allocations: 102.7 kB / 0.7629 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/0.5371, allocations: 1.288 MB / 0.7641 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5371, allocations: 11.94 kB / 0.7641 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5371, allocations: 3.984 kB / 0.7641 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5371, allocations: 7.984 kB / 0.7641 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.5408, allocations: 2.503 MB / 0.7666 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5408, allocations: 0 / 0.7666 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.5415, allocations: 183.7 kB / 0.7668 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004983/0.542, allocations: 88.53 kB / 0.7668 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.557e-05/0.5421, allocations: 23.98 kB / 0.7669 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.5438, allocations: 1.558 MB / 0.7684 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.5439, allocations: 2.266 kB / 0.7684 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.5459, allocations: 1.113 MB / 0.7695 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.5463, allocations: 311.5 kB / 0.7698 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.5464, allocations: 31.78 kB / 0.7698 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006739/0.5471, allocations: 63.94 kB / 0.7699 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.5472, allocations: 72.89 kB / 0.7699 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.17e-05/0.5473, allocations: 40.11 kB / 0.77 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006688/0.548, allocations: 0.5615 MB / 0.7705 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.548, allocations: 0 / 0.7705 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009659/0.549, allocations: 394.6 kB / 0.7709 GB, free: 12.77 MB / 0.5919 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,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.003408/0.5524, allocations: 2.173 MB / 0.773 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.5541, allocations: 0.9325 MB / 0.7739 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5541, allocations: 4 kB / 0.7739 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009386/0.555, allocations: 0.5705 MB / 0.7745 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.5562, allocations: 281.5 kB / 0.7748 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.5699, allocations: 8.909 MB / 0.7835 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006786/0.5706, allocations: 1.177 MB / 0.7846 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008821/0.5715, allocations: 295.8 kB / 0.7849 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.5722, allocations: 0.5539 MB / 0.7854 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.5722, allocations: 0 / 0.7854 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/1.348, allocations: 24.54 MB / 0.8094 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.348, allocations: 300.8 kB / 0.8097 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.286/3.634, allocations: 0 / 0.8097 GB, free: 5.25 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)