Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.001111/0.001111, allocations: 108 kB / 15.6 MB, free: 132 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.001204/0.001205, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8953/0.8953, allocations: 135.1 MB / 425.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 56.34 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1332, allocations: 80.93 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007433/0.1406, allocations: 6.046 MB / 0.5904 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3772/0.5179, allocations: 151.4 MB / 0.7383 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.5189, allocations: 24.78 kB / 0.7383 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.5198, allocations: 247.1 kB / 0.7385 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/0.5218, allocations: 0.6146 MB / 0.7391 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/0.5246, allocations: 1.287 MB / 0.7404 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002522/0.5271, allocations: 2.394 MB / 0.7427 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.5291, allocations: 1.581 MB / 0.7443 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.5305, allocations: 1.043 MB / 0.7453 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.5321, allocations: 1.179 MB / 0.7464 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000523/0.5326, allocations: 296.8 kB / 0.7467 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001027/0.5336, allocations: 0.6592 MB / 0.7474 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.5341, allocations: 0.6362 MB / 0.748 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000879/0.535, allocations: 1.175 MB / 0.7491 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.5375, allocations: 3.22 MB / 0.7523 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5375, allocations: 0 / 0.7523 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5376, allocations: 4 kB / 0.7523 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.5376, allocations: 0 / 0.7523 GB, free: 0.7344 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004684/0.5423, allocations: 2.588 MB / 0.7548 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5423, allocations: 15.97 kB / 0.7548 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003421/0.5427, allocations: 304.3 kB / 0.7551 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.5585, allocations: 2.096 MB / 0.7572 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.5605, allocations: 1.189 MB / 0.7583 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.5606, allocations: 160.4 kB / 0.7585 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.5609, allocations: 215.9 kB / 0.7587 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007837/0.5688, allocations: 3.158 MB / 0.7618 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.5688, allocations: 2.25 kB / 0.7618 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.5691, allocations: 92 kB / 0.7619 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.5691, allocations: 55.98 kB / 0.7619 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.5811, allocations: 4.099 MB / 0.7659 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.5948, allocations: 7.008 MB / 0.7728 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/0.6033, allocations: 2.692 MB / 0.7754 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/0.6076, allocations: 1.427 MB / 0.7768 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/0.6083, allocations: 0.4996 MB / 0.7773 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004686/0.613, allocations: 1.703 MB / 0.7789 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.687e-06/0.613, allocations: 0 / 0.7789 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01417/0.6272, allocations: 4.193 MB / 0.783 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.6273, allocations: 201.9 kB / 0.7832 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.6284, allocations: 0.8621 MB / 0.7841 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.6286, allocations: 57.7 kB / 0.7841 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005077/0.6291, allocations: 0.7113 MB / 0.7848 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005295/0.6296, allocations: 0.6313 MB / 0.7854 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006685/0.6303, allocations: 343.3 kB / 0.7857 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.6304, allocations: 305.1 kB / 0.786 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004078/0.6345, allocations: 1.167 MB / 0.7872 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004206/0.6387, allocations: 1.355 MB / 0.7885 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008082/0.6468, allocations: 2.469 MB / 0.7909 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.6468, allocations: 7.938 kB / 0.7909 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009544/0.6563, allocations: 2.907 MB / 0.7938 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.6564, allocations: 10.5 kB / 0.7938 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6564, allocations: 0 / 0.7938 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.657, allocations: 88.83 kB / 0.7939 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/0.6605, allocations: 0.5616 MB / 0.7944 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.6625, allocations: 1.633 MB / 0.796 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.6653, allocations: 334.2 kB / 0.7963 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/0.6655, allocations: 83.91 kB / 0.7964 GB, free: 2.797 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.0007694/0.6663, allocations: 406.2 kB / 0.7968 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.6667, allocations: 146.2 kB / 0.7969 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.6777, allocations: 3.484 MB / 0.8003 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.6778, allocations: 24 kB / 0.8003 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6778, allocations: 0 / 0.8003 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/0.6778, allocations: 7.969 kB / 0.8004 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.6912, allocations: 5.761 MB / 0.806 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.6913, allocations: 4 kB / 0.806 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/0.6947, allocations: 0.5497 MB / 0.8065 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004544/0.6951, allocations: 80.72 kB / 0.8066 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.6953, allocations: 63.92 kB / 0.8067 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.6971, allocations: 1.654 MB / 0.8083 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6972, allocations: 8 kB / 0.8083 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009569/0.7067, allocations: 3.051 MB / 0.8113 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008564/0.7076, allocations: 0.5063 MB / 0.8118 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/0.708, allocations: 47.83 kB / 0.8118 GB, free: 2.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/0.7108, allocations: 247.7 kB / 0.812 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.7111, allocations: 125.8 kB / 0.8122 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002007/0.7113, allocations: 83.92 kB / 0.8122 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001038/0.7123, allocations: 0.6427 MB / 0.8129 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7123, allocations: 0 / 0.8129 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001633/0.714, allocations: 0.5919 MB / 0.8134 GB, free: 1.059 MB / 0.6231 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 (210): * Single equations (assignments): 207 * 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.01129/0.7253, allocations: 4.145 MB / 0.8175 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01221/0.7375, allocations: 3.409 MB / 0.8208 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7375, allocations: 4.25 kB / 0.8208 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004612/0.7421, allocations: 1.665 MB / 0.8225 GB, free: 8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.7438, allocations: 360.2 kB / 0.8228 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/0.7817, allocations: 15.83 MB / 0.8382 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.7828, allocations: 1.363 MB / 0.8396 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003169/0.786, allocations: 0.5546 MB / 0.8401 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001532/0.7875, allocations: 0.8194 MB / 0.8409 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7875, allocations: 3.938 kB / 0.8409 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7558/1.543, allocations: 38.57 MB / 0.8786 GB, free: 216.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.93, allocations: 10.25 kB / 0.8786 GB, free: 216.3 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)