Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 103 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 179] 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.7878/0.7878, allocations: 134 MB / 436.6 MB, free: 1.281 MB / 334.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.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 69 kB / 0.6051 GB, free: 15.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1428, allocations: 84.66 MB / 0.6878 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006088/0.1488, allocations: 4.143 MB / 0.6918 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.4453/0.5941, allocations: 150.9 MB / 0.8392 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.5947, allocations: 18.72 kB / 0.8392 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.5952, allocations: 175.8 kB / 0.8394 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.5964, allocations: 478.8 kB / 0.8398 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.598, allocations: 0.786 MB / 0.8406 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000991/0.599, allocations: 1.167 MB / 0.8417 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006266/0.5996, allocations: 449.7 kB / 0.8422 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.6001, allocations: 433.2 kB / 0.8426 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004414/0.6005, allocations: 437.3 kB / 0.843 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.905e-05/0.6006, allocations: 101.4 kB / 0.8431 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.6013, allocations: 477.2 kB / 0.8435 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.6015, allocations: 267.2 kB / 0.8438 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.6019, allocations: 0.4887 MB / 0.8443 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.6034, allocations: 1.479 MB / 0.8457 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6034, allocations: 0 / 0.8457 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6034, allocations: 0 / 0.8457 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6034, allocations: 0 / 0.8457 GB, free: 8.992 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002004/0.6054, allocations: 1.357 MB / 0.847 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.6054, allocations: 9.781 kB / 0.8471 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.6056, allocations: 124.8 kB / 0.8472 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.6064, allocations: 187.6 kB / 0.8474 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.6074, allocations: 0.728 MB / 0.8481 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.6075, allocations: 63.61 kB / 0.8481 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.6076, allocations: 72.38 kB / 0.8482 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6088, allocations: 0.851 MB / 0.849 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6089, allocations: 2.5 kB / 0.849 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.628e-05/0.6089, allocations: 31.97 kB / 0.8491 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.6089, allocations: 19.56 kB / 0.8491 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.6104, allocations: 1.056 MB / 0.8501 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.6137, allocations: 2.322 MB / 0.8524 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.6148, allocations: 0.6603 MB / 0.853 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.6153, allocations: 253.7 kB / 0.8533 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.714e-05/0.6153, allocations: 28.56 kB / 0.8533 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006744/0.616, allocations: 419.6 kB / 0.8537 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=71): time 1.943e-06/0.616, allocations: 0 / 0.8537 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71): time 0.00266/0.6187, allocations: 1.075 MB / 0.8547 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6188, allocations: 188.6 kB / 0.8549 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006395/0.6194, allocations: 0.5914 MB / 0.8555 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.6195, allocations: 38.95 kB / 0.8555 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.6198, allocations: 382.2 kB / 0.8559 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.62, allocations: 242.1 kB / 0.8561 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.6202, allocations: 129.9 kB / 0.8563 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6203, allocations: 382.4 kB / 0.8566 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.6207, allocations: 214.3 kB / 0.8568 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.6212, allocations: 322 kB / 0.8571 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009168/0.6222, allocations: 0.5206 MB / 0.8576 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6222, allocations: 0 / 0.8576 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001736/0.6239, allocations: 0.7201 MB / 0.8583 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6239, allocations: 8 kB / 0.8584 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6239, allocations: 0 / 0.8584 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.6245, allocations: 84.83 kB / 0.8584 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005445/0.625, allocations: 135.8 kB / 0.8586 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.6271, allocations: 1.631 MB / 0.8602 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.6276, allocations: 71.58 kB / 0.8602 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.6277, allocations: 23.98 kB / 0.8602 GB, free: 13.71 MB / 0.6231 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 (75): * Single equations (assignments): 74 * 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.0003392/0.628, allocations: 253.7 kB / 0.8605 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.6282, allocations: 79.47 kB / 0.8606 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.6303, allocations: 0.9648 MB / 0.8615 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6303, allocations: 8 kB / 0.8615 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6303, allocations: 0 / 0.8615 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.6303, allocations: 7.922 kB / 0.8615 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.6312, allocations: 0.8217 MB / 0.8623 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6312, allocations: 0 / 0.8623 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/0.6318, allocations: 139.9 kB / 0.8625 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004034/0.6322, allocations: 76.66 kB / 0.8625 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-05/0.6322, allocations: 23.98 kB / 0.8626 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/0.6342, allocations: 1.658 MB / 0.8642 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6342, allocations: 0 / 0.8642 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.6359, allocations: 0.8307 MB / 0.865 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/0.6363, allocations: 256.5 kB / 0.8652 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.6364, allocations: 23.95 kB / 0.8652 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.6368, allocations: 51.94 kB / 0.8653 GB, free: 8.27 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6369, allocations: 60.91 kB / 0.8654 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/0.637, allocations: 27.98 kB / 0.8654 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005366/0.6375, allocations: 431 kB / 0.8658 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.6375, allocations: 0 / 0.8658 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000716/0.6382, allocations: 288.3 kB / 0.8661 GB, free: 7.48 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003698/0.6419, allocations: 1.869 MB / 0.8679 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.6434, allocations: 0.6849 MB / 0.8686 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.6434, allocations: 4 kB / 0.8686 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.6442, allocations: 456.2 kB / 0.869 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009881/0.6452, allocations: 298.4 kB / 0.8693 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009969/0.6551, allocations: 5.769 MB / 0.8749 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.6558, allocations: 0.9915 MB / 0.8759 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00074/0.6566, allocations: 257.9 kB / 0.8761 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004811/0.657, allocations: 343.3 kB / 0.8765 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of SimCode: time 6.31e-07/0.657, allocations: 4 kB / 0.8765 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05545/0.7125, allocations: 19.73 MB / 0.8957 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.9, allocations: 13.84 kB / 0.8957 GB, free: 9.418 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.28854692261666] Failed to read output from testmodel.py, exit status != 0: 13.099824333097786 13.12441671 12.516678538 Calling exit ...