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.006339/0.006339, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001437/0.001437, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.195 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9565/0.9565, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.468/0.4693, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005588/0.475, allocations: 4.496 MB / 0.6685 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.6494, allocations: 150.6 MB / 0.8156 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.6507, allocations: 27.88 kB / 0.8156 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009736/0.6517, allocations: 190.2 kB / 0.8158 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.6543, allocations: 0.4886 MB / 0.8163 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.6567, allocations: 0.8248 MB / 0.8171 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.6585, allocations: 1.332 MB / 0.8184 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.6599, allocations: 0.9193 MB / 0.8193 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008238/0.6607, allocations: 0.5332 MB / 0.8198 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.6615, allocations: 0.5737 MB / 0.8204 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.6618, allocations: 144 kB / 0.8205 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.6629, allocations: 0.5074 MB / 0.821 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003684/0.6632, allocations: 343 kB / 0.8213 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007511/0.664, allocations: 0.641 MB / 0.822 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.6664, allocations: 1.842 MB / 0.8238 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.6665, allocations: 0 / 0.8238 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6665, allocations: 3.938 kB / 0.8238 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.918e-05/0.6665, allocations: 0 / 0.8238 GB, free: 13.48 MB / 0.6544 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.003123/0.6697, allocations: 1.584 MB / 0.8253 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6697, allocations: 12.03 kB / 0.8253 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000216/0.6699, allocations: 169.5 kB / 0.8255 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.6709, allocations: 215 kB / 0.8257 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.6723, allocations: 0.8325 MB / 0.8265 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.167e-05/0.6724, allocations: 86.28 kB / 0.8266 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.6726, allocations: 116 kB / 0.8267 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.6746, allocations: 1.138 MB / 0.8278 GB, free: 9.168 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.6746, allocations: 4 kB / 0.8278 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.6747, allocations: 48 kB / 0.8279 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.6748, allocations: 28 kB / 0.8279 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.6768, allocations: 1.238 MB / 0.8291 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.6818, allocations: 2.972 MB / 0.832 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.6833, allocations: 0.7691 MB / 0.8328 GB, free: 4.016 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/0.6838, allocations: 290.7 kB / 0.833 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.471e-05/0.6839, allocations: 40.67 kB / 0.8331 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007914/0.6847, allocations: 447.2 kB / 0.8335 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/0.6847, allocations: 0 / 0.8335 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.003068/0.6878, allocations: 1.131 MB / 0.8346 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.6879, allocations: 192.6 kB / 0.8348 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.689, allocations: 0.692 MB / 0.8355 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.6891, allocations: 41.7 kB / 0.8355 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.6895, allocations: 0.4957 MB / 0.836 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.6898, allocations: 264.1 kB / 0.8362 GB, free: 348 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.69, allocations: 142.5 kB / 0.8364 GB, free: 200 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6902, allocations: 341.9 kB / 0.8367 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.6906, allocations: 237.9 kB / 0.8369 GB, free: 15.62 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/0.6912, allocations: 350.5 kB / 0.8373 GB, free: 15.26 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.6923, allocations: 0.576 MB / 0.8378 GB, free: 14.67 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6923, allocations: 0 / 0.8378 GB, free: 14.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001816/0.6941, allocations: 0.7864 MB / 0.8386 GB, free: 13.87 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6941, allocations: 7.938 kB / 0.8386 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6942, allocations: 4 kB / 0.8386 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006033/0.6948, allocations: 80.86 kB / 0.8387 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.6954, allocations: 151.7 kB / 0.8388 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.6976, allocations: 1.628 MB / 0.8404 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006714/0.6983, allocations: 95.27 kB / 0.8405 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.6984, allocations: 27.98 kB / 0.8405 GB, free: 11.74 MB / 0.67 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.0005063/0.6989, allocations: 276.5 kB / 0.8408 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.6991, allocations: 94.88 kB / 0.8409 GB, free: 11.37 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.7013, allocations: 1.027 MB / 0.8419 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.7014, allocations: 8 kB / 0.8419 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7014, allocations: 0 / 0.8419 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.7014, allocations: 3.984 kB / 0.8419 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.7028, allocations: 0.9898 MB / 0.8429 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.7028, allocations: 0 / 0.8429 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.7034, allocations: 147.8 kB / 0.843 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/0.7039, allocations: 72.78 kB / 0.8431 GB, free: 9.062 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.704, allocations: 23.98 kB / 0.8431 GB, free: 9.039 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.7059, allocations: 1.666 MB / 0.8447 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7059, allocations: 0 / 0.8447 GB, free: 7.227 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.7077, allocations: 0.8886 MB / 0.8456 GB, free: 6.316 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003894/0.7081, allocations: 263.8 kB / 0.8458 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.7083, allocations: 19.98 kB / 0.8459 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.7088, allocations: 51.95 kB / 0.8459 GB, free: 5.969 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.709, allocations: 64.91 kB / 0.846 GB, free: 5.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.7091, allocations: 31.98 kB / 0.846 GB, free: 5.871 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006203/0.7097, allocations: 499 kB / 0.8465 GB, free: 5.387 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7097, allocations: 3.938 kB / 0.8465 GB, free: 5.383 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008334/0.7105, allocations: 334.8 kB / 0.8468 GB, free: 5.055 MB / 0.67 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.003279/0.7138, allocations: 1.932 MB / 0.8487 GB, free: 3.277 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.7154, allocations: 0.7726 MB / 0.8494 GB, free: 2.488 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.7154, allocations: 4.188 kB / 0.8495 GB, free: 2.484 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008725/0.7163, allocations: 0.5042 MB / 0.8499 GB, free: 1.973 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7174, allocations: 304.2 kB / 0.8502 GB, free: 1.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.7298, allocations: 6.644 MB / 0.8567 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007929/0.7306, allocations: 1.081 MB / 0.8578 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009531/0.7316, allocations: 262.8 kB / 0.858 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007088/0.7323, allocations: 459.2 kB / 0.8585 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of SimCode: time 1.372e-06/0.7323, allocations: 0 / 0.8585 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4147/1.147, allocations: 21.89 MB / 0.8798 GB, free: 47.67 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.98, allocations: 18.05 kB / 0.8799 GB, free: 47.66 MB / 0.6856 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)