Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.0008213/0.0008213, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0009433/0.0009433, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9894/0.9894, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7965/0.7965, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",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.001314/0.001314, allocations: 70.67 kB / 0.7182 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5064/0.5077, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004768/0.5125, allocations: 4.961 MB / 0.8227 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1454/0.6579, allocations: 154.1 MB / 0.9732 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008444/0.6587, allocations: 19.88 kB / 0.9732 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005493/0.6593, allocations: 194.2 kB / 0.9734 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.6608, allocations: 0.5659 MB / 0.974 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.6625, allocations: 0.8743 MB / 0.9748 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.6639, allocations: 1.405 MB / 0.9762 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008843/0.6647, allocations: 409.9 kB / 0.9766 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.6655, allocations: 0.4983 MB / 0.9771 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.6659, allocations: 0.5095 MB / 0.9776 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.666, allocations: 116 kB / 0.9777 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008667/0.6669, allocations: 0.5113 MB / 0.9782 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.6671, allocations: 303.1 kB / 0.9785 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.6675, allocations: 0.5596 MB / 0.979 GB, free: 468 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.6691, allocations: 1.683 MB / 0.9807 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6691, allocations: 0 / 0.9807 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6691, allocations: 0 / 0.9807 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.263e-05/0.6691, allocations: 0 / 0.9807 GB, free: 14.77 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001897/0.671, allocations: 1.419 MB / 0.9821 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.671, allocations: 8.031 kB / 0.9821 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.6712, allocations: 139.4 kB / 0.9822 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007621/0.6719, allocations: 224 kB / 0.9824 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008835/0.6728, allocations: 0.718 MB / 0.9831 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.6728, allocations: 62 kB / 0.9832 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.6729, allocations: 84 kB / 0.9833 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.6742, allocations: 0.9106 MB / 0.9841 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6742, allocations: 0 / 0.9841 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.6743, allocations: 40 kB / 0.9842 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.6743, allocations: 20 kB / 0.9842 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.6754, allocations: 1.104 MB / 0.9853 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.678, allocations: 2.693 MB / 0.9879 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/0.679, allocations: 0.7558 MB / 0.9886 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.6793, allocations: 272.1 kB / 0.9889 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.6793, allocations: 32.67 kB / 0.9889 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000553/0.6799, allocations: 491.1 kB / 0.9894 GB, free: 5.566 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=80): time 1.994e-06/0.6799, allocations: 4 kB / 0.9894 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of matching and sorting (n=80): time 0.002152/0.682, allocations: 1.123 MB / 0.9905 GB, free: 4.434 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.6821, allocations: 196.6 kB / 0.9907 GB, free: 4.199 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005417/0.6827, allocations: 0.6451 MB / 0.9913 GB, free: 3.547 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.6827, allocations: 49.69 kB / 0.9914 GB, free: 3.492 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.6829, allocations: 405 kB / 0.9918 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.683, allocations: 273.7 kB / 0.992 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6832, allocations: 146.6 kB / 0.9922 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6833, allocations: 394.7 kB / 0.9925 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.6836, allocations: 245.9 kB / 0.9928 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003857/0.684, allocations: 358.5 kB / 0.9931 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.6847, allocations: 0.5838 MB / 0.9937 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6847, allocations: 0 / 0.9937 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001101/0.6858, allocations: 0.814 MB / 0.9945 GB, free: 244 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6858, allocations: 4 kB / 0.9945 GB, free: 240 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6858, allocations: 0 / 0.9945 GB, free: 240 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.6861, allocations: 84.78 kB / 0.9946 GB, free: 152 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.6865, allocations: 155.8 kB / 0.9947 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/0.6879, allocations: 1.532 MB / 0.9962 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.6882, allocations: 95.67 kB / 0.9963 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6883, allocations: 31.97 kB / 0.9963 GB, free: 14.22 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0002868/0.6885, allocations: 265.6 kB / 0.9966 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.6886, allocations: 87.44 kB / 0.9967 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.6903, allocations: 1.062 MB / 0.9977 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.6903, allocations: 8 kB / 0.9977 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.6903, allocations: 3.938 kB / 0.9977 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.6903, allocations: 11.92 kB / 0.9977 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.691, allocations: 0.8793 MB / 0.9986 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.691, allocations: 0 / 0.9986 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.6913, allocations: 147.8 kB / 0.9987 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002137/0.6915, allocations: 68.8 kB / 0.9988 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.6915, allocations: 27.97 kB / 0.9988 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.6926, allocations: 1.559 MB / 1 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6926, allocations: 0 / 1 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.6938, allocations: 0.9283 MB / 1.001 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.694, allocations: 203.1 kB / 1.001 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.6941, allocations: 20 kB / 1.001 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.6944, allocations: 59.94 kB / 1.002 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6945, allocations: 80.73 kB / 1.002 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.6946, allocations: 35.97 kB / 1.002 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003911/0.6949, allocations: 475 kB / 1.002 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.6949, allocations: 4 kB / 1.002 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006222/0.6956, allocations: 319.2 kB / 1.002 GB, free: 7.797 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002255/0.6978, allocations: 1.987 MB / 1.004 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001156/0.699, allocations: 0.7649 MB / 1.005 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.699, allocations: 0 / 1.005 GB, free: 5.219 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.6995, allocations: 0.4925 MB / 1.006 GB, free: 4.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.7002, allocations: 306.4 kB / 1.006 GB, free: 4.441 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006984/0.7072, allocations: 6.22 MB / 1.012 GB, free: 14.06 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.7076, allocations: 1.023 MB / 1.013 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005871/0.7082, allocations: 264.8 kB / 1.013 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003884/0.7086, allocations: 395.2 kB / 1.014 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of SimCode: time 1.883e-06/0.7086, allocations: 0 / 1.014 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04405/0.7526, allocations: 22.39 MB / 1.035 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.925/9.677, allocations: 15.78 kB / 1.035 GB, free: 6.121 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.772425962146372] Failed to read output from testmodel.py, exit status != 0: 9.83150290302001 9.845529327 9.173607263 Calling exit ...