Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 215.3 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8213/0.8213, allocations: 134 MB / 447.2 MB, free: 9.984 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 72.94 kB / 0.6192 GB, free: 6.926 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1639, allocations: 85.9 MB / 0.7031 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008449/0.1723, allocations: 5.397 MB / 0.7084 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5132/0.6855, allocations: 133.4 MB / 0.8387 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009856/0.6865, allocations: 28.34 kB / 0.8387 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.6872, allocations: 258.8 kB / 0.8389 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.6891, allocations: 0.6503 MB / 0.8396 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.6917, allocations: 1.29 MB / 0.8408 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.6943, allocations: 2.437 MB / 0.8432 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.6959, allocations: 1.124 MB / 0.8443 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.6976, allocations: 1.121 MB / 0.8454 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.699, allocations: 1.194 MB / 0.8466 GB, free: 336 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003909/0.6994, allocations: 300 kB / 0.8469 GB, free: 36 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.7009, allocations: 0.6987 MB / 0.8475 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.7015, allocations: 0.6465 MB / 0.8482 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.7025, allocations: 0.9525 MB / 0.8491 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.7067, allocations: 3.38 MB / 0.8524 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7067, allocations: 0 / 0.8524 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7067, allocations: 0 / 0.8524 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.109e-05/0.7068, allocations: 0 / 0.8524 GB, free: 10.35 MB / 0.6231 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.005902/0.7127, allocations: 2.597 MB / 0.8549 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7127, allocations: 8.031 kB / 0.8549 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.309e-05/0.7128, allocations: 56.55 kB / 0.855 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003959/0.7132, allocations: 304.3 kB / 0.8553 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.7313, allocations: 2.305 MB / 0.8575 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002836/0.7341, allocations: 1.172 MB / 0.8587 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.7343, allocations: 160.4 kB / 0.8588 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/0.7347, allocations: 211.9 kB / 0.859 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00897/0.7437, allocations: 3.41 MB / 0.8624 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/0.7438, allocations: 0 / 0.8624 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000288/0.744, allocations: 88 kB / 0.8625 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/0.7441, allocations: 52 kB / 0.8625 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/0.7583, allocations: 4.103 MB / 0.8665 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01538/0.7737, allocations: 6.135 MB / 0.8725 GB, free: 5.402 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008121/0.7818, allocations: 2.52 MB / 0.875 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/0.7858, allocations: 1.298 MB / 0.8762 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.7864, allocations: 125.9 kB / 0.8764 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00473/0.7911, allocations: 1.799 MB / 0.8781 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=195): time 4.278e-06/0.7911, allocations: 3.938 kB / 0.8781 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=195): time 0.01383/0.8049, allocations: 4.13 MB / 0.8821 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.8051, allocations: 201.9 kB / 0.8823 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.8065, allocations: 0.8867 MB / 0.8832 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.8067, allocations: 57.7 kB / 0.8833 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007382/0.8075, allocations: 0.7287 MB / 0.884 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.8082, allocations: 0.6702 MB / 0.8846 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007241/0.8089, allocations: 343.3 kB / 0.885 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.809, allocations: 305.1 kB / 0.8852 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00391/0.8129, allocations: 1.163 MB / 0.8864 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00441/0.8173, allocations: 1.484 MB / 0.8878 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008244/0.8256, allocations: 2.477 MB / 0.8903 GB, free: 3 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.8256, allocations: 0 / 0.8903 GB, free: 3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.01018/0.8358, allocations: 2.914 MB / 0.8931 GB, free: 76 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.8358, allocations: 4 kB / 0.8931 GB, free: 72 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.8358, allocations: 6.375 kB / 0.8931 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/0.8365, allocations: 84.78 kB / 0.8932 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/0.8401, allocations: 0.5538 MB / 0.8937 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.8425, allocations: 1.536 MB / 0.8952 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003033/0.8455, allocations: 332.2 kB / 0.8955 GB, free: 13.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003718/0.8459, allocations: 91.89 kB / 0.8956 GB, free: 13.36 MB / 0.67 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.001251/0.8471, allocations: 407.6 kB / 0.896 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/0.8477, allocations: 155 kB / 0.8962 GB, free: 12.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.8592, allocations: 3.48 MB / 0.8996 GB, free: 9.301 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.8592, allocations: 20 kB / 0.8996 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8592, allocations: 0 / 0.8996 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.529e-05/0.8592, allocations: 11.95 kB / 0.8996 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.8733, allocations: 5.337 MB / 0.9048 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.8733, allocations: 0 / 0.9048 GB, free: 3.879 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/0.8768, allocations: 0.5461 MB / 0.9053 GB, free: 3.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/0.8773, allocations: 72.8 kB / 0.9054 GB, free: 3.258 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002757/0.8776, allocations: 75.66 kB / 0.9055 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.8797, allocations: 1.559 MB / 0.907 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8797, allocations: 0 / 0.907 GB, free: 1.512 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.8898, allocations: 3.066 MB / 0.91 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.8911, allocations: 448.1 kB / 0.9104 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/0.8917, allocations: 47.89 kB / 0.9105 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002977/0.8947, allocations: 251.7 kB / 0.9107 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.8951, allocations: 133.7 kB / 0.9108 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002957/0.8954, allocations: 75.92 kB / 0.9109 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001244/0.8966, allocations: 0.6628 MB / 0.9116 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8966, allocations: 0 / 0.9116 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002068/0.8987, allocations: 0.5961 MB / 0.9121 GB, free: 12.21 MB / 0.6856 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.01273/0.9114, allocations: 4.196 MB / 0.9162 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01012/0.9215, allocations: 2.831 MB / 0.919 GB, free: 5.398 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/0.9215, allocations: 7.984 kB / 0.919 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005134/0.9267, allocations: 1.533 MB / 0.9205 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.9287, allocations: 347.7 kB / 0.9208 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04119/0.9699, allocations: 15.19 MB / 0.9357 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.9711, allocations: 0.797 MB / 0.9365 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.003058/0.9742, allocations: 0.5587 MB / 0.937 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/0.9761, allocations: 0.8272 MB / 0.9378 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of SimCode: time 7.42e-07/0.9761, allocations: 0 / 0.9378 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08712/1.063, allocations: 41.88 MB / 0.9787 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/16.29, allocations: 3.609 kB / 0.9787 GB, free: 8.375 MB / 0.7481 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.03389603504911] Failed to read output from testmodel.py, exit status != 0: 16.581740512978286 16.605390916 15.894206929 Calling exit ...