Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.0007116/0.0007117, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004242/0.004242, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8453/0.8453, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.00029, allocations: 13.7 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1272, allocations: 82.3 MB / 0.5881 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004281/0.1316, allocations: 4.076 MB / 0.5921 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3536/0.4852, allocations: 146.7 MB / 0.7353 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003812/0.4856, allocations: 20.09 kB / 0.7353 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.486, allocations: 147.8 kB / 0.7355 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009787/0.487, allocations: 419.2 kB / 0.7359 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.4884, allocations: 0.7132 MB / 0.7366 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.4895, allocations: 1.219 MB / 0.7378 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009811/0.4905, allocations: 0.8604 MB / 0.7386 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003877/0.4909, allocations: 359.6 kB / 0.7389 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.4913, allocations: 388.3 kB / 0.7393 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.4914, allocations: 23.12 kB / 0.7393 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.492, allocations: 366 kB / 0.7397 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.4922, allocations: 197.5 kB / 0.7399 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.4926, allocations: 0.4997 MB / 0.7404 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.4939, allocations: 1.677 MB / 0.742 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4939, allocations: 0 / 0.742 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4939, allocations: 0 / 0.742 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.4939, allocations: 4 kB / 0.742 GB, free: 11.02 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001882/0.4958, allocations: 1.333 MB / 0.7433 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4958, allocations: 9.344 kB / 0.7433 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001897/0.496, allocations: 171.5 kB / 0.7435 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.4969, allocations: 226.2 kB / 0.7437 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009674/0.4979, allocations: 0.8078 MB / 0.7445 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.4979, allocations: 92.73 kB / 0.7446 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4981, allocations: 112.9 kB / 0.7447 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.4998, allocations: 1.139 MB / 0.7458 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4998, allocations: 1.062 kB / 0.7458 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4999, allocations: 50.56 kB / 0.7458 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.5, allocations: 28.22 kB / 0.7459 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.5017, allocations: 1.242 MB / 0.7471 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.5056, allocations: 3.047 MB / 0.7501 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.5069, allocations: 0.7908 MB / 0.7508 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.5073, allocations: 297.1 kB / 0.7511 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.679e-05/0.5074, allocations: 29.53 kB / 0.7511 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007417/0.5081, allocations: 464.8 kB / 0.7516 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.883e-06/0.5081, allocations: 0 / 0.7516 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002739/0.5109, allocations: 1.151 MB / 0.7527 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.511, allocations: 188.6 kB / 0.7529 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.5118, allocations: 0.6882 MB / 0.7536 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.5119, allocations: 41.7 kB / 0.7536 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003381/0.5122, allocations: 0.4995 MB / 0.7541 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.5124, allocations: 256.3 kB / 0.7543 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.931e-05/0.5125, allocations: 57.69 kB / 0.7544 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5126, allocations: 334 kB / 0.7547 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/0.513, allocations: 237.9 kB / 0.7549 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005317/0.5136, allocations: 354.6 kB / 0.7553 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009606/0.5145, allocations: 0.5877 MB / 0.7558 GB, free: 48 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.5146, allocations: 0 / 0.7558 GB, free: 48 kB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001678/0.5162, allocations: 0.8057 MB / 0.7566 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.5163, allocations: 15.92 kB / 0.7566 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5163, allocations: 0 / 0.7566 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.5168, allocations: 76.88 kB / 0.7567 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.5174, allocations: 155.8 kB / 0.7569 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/0.5192, allocations: 1.513 MB / 0.7583 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/0.5198, allocations: 91.19 kB / 0.7584 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.5199, allocations: 39.91 kB / 0.7585 GB, free: 13.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0003757/0.5203, allocations: 273.8 kB / 0.7587 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.5204, allocations: 90.88 kB / 0.7588 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.5225, allocations: 1.038 MB / 0.7598 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.5226, allocations: 12.11 kB / 0.7598 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5226, allocations: 3.938 kB / 0.7598 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.5226, allocations: 7.969 kB / 0.7599 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009874/0.5236, allocations: 0.9815 MB / 0.7608 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5236, allocations: 0 / 0.7608 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.5242, allocations: 155.8 kB / 0.761 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000492/0.5247, allocations: 80.77 kB / 0.761 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.5247, allocations: 24 kB / 0.7611 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.5264, allocations: 1.55 MB / 0.7626 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5264, allocations: 0 / 0.7626 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.5281, allocations: 0.8965 MB / 0.7635 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003112/0.5284, allocations: 287.8 kB / 0.7637 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5285, allocations: 23.92 kB / 0.7638 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.5291, allocations: 67.94 kB / 0.7638 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5292, allocations: 60.92 kB / 0.7639 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.5293, allocations: 31.97 kB / 0.7639 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005379/0.5298, allocations: 499 kB / 0.7644 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5298, allocations: 0 / 0.7644 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007482/0.5306, allocations: 338.8 kB / 0.7647 GB, free: 6.578 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003037/0.5336, allocations: 1.935 MB / 0.7666 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.535, allocations: 0.776 MB / 0.7674 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.535, allocations: 4 kB / 0.7674 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.5358, allocations: 0.5008 MB / 0.7678 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.537, allocations: 275.8 kB / 0.7681 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/0.5486, allocations: 7.521 MB / 0.7755 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.5492, allocations: 1.082 MB / 0.7765 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007489/0.5499, allocations: 266.9 kB / 0.7768 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005425/0.5505, allocations: 451.2 kB / 0.7772 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.5505, allocations: 0 / 0.7772 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.512/5.062, allocations: 20.59 MB / 0.7973 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/5.063, allocations: 301.1 kB / 0.7976 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/7.205, allocations: 0 / 0.7976 GB, free: 5.137 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)