Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_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.001106/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001099/0.001099, allocations: 193.6 kB / 16.14 MB, free: 6.715 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.217/1.217, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7568/0.7568, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 60.22 kB / 0.5012 GB, free: 9.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 80.21 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005802/0.1329, allocations: 4.916 MB / 0.5843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3485/0.4814, allocations: 148.5 MB / 0.7293 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005915/0.4821, allocations: 22.34 kB / 0.7293 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.4826, allocations: 141 kB / 0.7295 GB, free: 2.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.4839, allocations: 490.9 kB / 0.7299 GB, free: 2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.4855, allocations: 0.8114 MB / 0.7307 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.4867, allocations: 1.446 MB / 0.7321 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.488, allocations: 1.115 MB / 0.7332 GB, free: 252 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.4887, allocations: 0.5886 MB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006165/0.4893, allocations: 0.686 MB / 0.7345 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.4895, allocations: 106.4 kB / 0.7346 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007819/0.4903, allocations: 448.9 kB / 0.735 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002784/0.4906, allocations: 357 kB / 0.7353 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.4911, allocations: 0.7285 MB / 0.736 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.4926, allocations: 2.194 MB / 0.7382 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.4927, allocations: 0 / 0.7382 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.72e-07/0.4927, allocations: 0 / 0.7382 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.4927, allocations: 6.156 kB / 0.7382 GB, free: 13.53 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.002736/0.4954, allocations: 1.819 MB / 0.74 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.4955, allocations: 10.22 kB / 0.74 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.4957, allocations: 217.8 kB / 0.7402 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009456/0.4967, allocations: 237 kB / 0.7404 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.4978, allocations: 0.9043 MB / 0.7413 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.4979, allocations: 137.4 kB / 0.7414 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.4981, allocations: 143.3 kB / 0.7416 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.5003, allocations: 1.468 MB / 0.743 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.5004, allocations: 0 / 0.743 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5005, allocations: 61.25 kB / 0.7431 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/0.5005, allocations: 36.19 kB / 0.7431 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.5027, allocations: 1.494 MB / 0.7445 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005371/0.5081, allocations: 3.942 MB / 0.7484 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.5096, allocations: 0.9032 MB / 0.7493 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.5102, allocations: 371.7 kB / 0.7496 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.186e-05/0.5103, allocations: 41.08 kB / 0.7497 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000975/0.5113, allocations: 0.5487 MB / 0.7502 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.124e-06/0.5113, allocations: 0 / 0.7502 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003295/0.5146, allocations: 1.368 MB / 0.7515 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.5147, allocations: 196.5 kB / 0.7517 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/0.5155, allocations: 0.7667 MB / 0.7525 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.729e-05/0.5156, allocations: 45.7 kB / 0.7525 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.516, allocations: 0.5775 MB / 0.7531 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.5162, allocations: 311.5 kB / 0.7534 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.5165, allocations: 174.4 kB / 0.7535 GB, free: 496 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5166, allocations: 345.9 kB / 0.7539 GB, free: 144 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.5171, allocations: 305.9 kB / 0.7542 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006795/0.5178, allocations: 435.3 kB / 0.7546 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.5191, allocations: 0.7422 MB / 0.7553 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5191, allocations: 0 / 0.7553 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002078/0.5212, allocations: 0.9775 MB / 0.7563 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5212, allocations: 4 kB / 0.7563 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5212, allocations: 0 / 0.7563 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.5219, allocations: 84.78 kB / 0.7563 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.5227, allocations: 187.7 kB / 0.7565 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.5245, allocations: 1.529 MB / 0.758 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006793/0.5252, allocations: 109.3 kB / 0.7581 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.5253, allocations: 35.97 kB / 0.7582 GB, free: 11.55 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.0004456/0.5258, allocations: 326.4 kB / 0.7585 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.5259, allocations: 102.7 kB / 0.7586 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.5288, allocations: 1.284 MB / 0.7598 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.5288, allocations: 15.98 kB / 0.7598 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.5288, allocations: 0 / 0.7598 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.5288, allocations: 3.984 kB / 0.7598 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/0.5325, allocations: 2.502 MB / 0.7623 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5325, allocations: 0 / 0.7623 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.5333, allocations: 179.8 kB / 0.7625 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/0.5338, allocations: 88.7 kB / 0.7625 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.5339, allocations: 23.98 kB / 0.7626 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.5356, allocations: 1.559 MB / 0.7641 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5356, allocations: 1.406 kB / 0.7641 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002084/0.5377, allocations: 1.113 MB / 0.7652 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/0.5381, allocations: 319.4 kB / 0.7655 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5382, allocations: 31.78 kB / 0.7655 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.5389, allocations: 63.94 kB / 0.7656 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.5391, allocations: 68.89 kB / 0.7656 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.931e-05/0.5392, allocations: 48.03 kB / 0.7657 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006504/0.5398, allocations: 0.5576 MB / 0.7662 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5398, allocations: 0 / 0.7662 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00089/0.5407, allocations: 394.6 kB / 0.7666 GB, free: 2.656 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,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.003483/0.5442, allocations: 2.168 MB / 0.7687 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.5459, allocations: 0.9287 MB / 0.7696 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5459, allocations: 4 kB / 0.7696 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000946/0.5469, allocations: 0.5705 MB / 0.7702 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.548, allocations: 278.7 kB / 0.7705 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.5618, allocations: 8.916 MB / 0.7792 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006695/0.5625, allocations: 1.165 MB / 0.7803 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008811/0.5634, allocations: 287.9 kB / 0.7806 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007053/0.5641, allocations: 0.5578 MB / 0.7811 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.5641, allocations: 7.938 kB / 0.7811 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5841/1.148, allocations: 24.52 MB / 0.8051 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/1.149, allocations: 300.4 kB / 0.8054 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.096/4.244, allocations: 0 / 0.8054 GB, free: 11.18 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)