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.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.001218/0.001218, 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.001077/0.001077, allocations: 213.8 kB / 22.25 MB, free: 3.711 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.9039/0.9039, 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.7894/0.7894, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.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"}) [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.001372/0.001372, allocations: 69.55 kB / 0.7182 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4482, allocations: 102 MB / 0.8178 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005471/0.4537, allocations: 6.077 MB / 0.8238 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1334/0.587, allocations: 154.4 MB / 0.9745 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009734/0.588, allocations: 23.81 kB / 0.9746 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.5887, allocations: 249.7 kB / 0.9748 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.5907, allocations: 0.6432 MB / 0.9754 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.5925, allocations: 0.9244 MB / 0.9763 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.5939, allocations: 1.673 MB / 0.978 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007105/0.5946, allocations: 0.605 MB / 0.9786 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006386/0.5953, allocations: 0.6384 MB / 0.9792 GB, free: 296 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005957/0.5959, allocations: 0.6691 MB / 0.9798 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.596, allocations: 164 kB / 0.98 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009196/0.5969, allocations: 0.5502 MB / 0.9805 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.5972, allocations: 374.8 kB / 0.9809 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.5976, allocations: 0.7501 MB / 0.9816 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.5997, allocations: 2.088 MB / 0.9837 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.5997, allocations: 4 kB / 0.9837 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5997, allocations: 0 / 0.9837 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.298e-05/0.5998, allocations: 0 / 0.9837 GB, free: 11.69 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002012/0.6018, allocations: 1.713 MB / 0.9853 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.6018, allocations: 11.97 kB / 0.9853 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.602, allocations: 185.8 kB / 0.9855 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/0.6028, allocations: 275.8 kB / 0.9858 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009964/0.6038, allocations: 0.8155 MB / 0.9866 GB, free: 8.613 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.6038, allocations: 86.41 kB / 0.9867 GB, free: 8.527 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.731e-05/0.6039, allocations: 119.9 kB / 0.9868 GB, free: 8.41 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.6052, allocations: 1.206 MB / 0.988 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6052, allocations: 0 / 0.988 GB, free: 7.141 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.6053, allocations: 48 kB / 0.988 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.6053, allocations: 28 kB / 0.988 GB, free: 7.066 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.6067, allocations: 1.289 MB / 0.9893 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.6104, allocations: 3.636 MB / 0.9928 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.6114, allocations: 0.8086 MB / 0.9936 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.6117, allocations: 298.7 kB / 0.9939 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.6118, allocations: 36.61 kB / 0.994 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.6124, allocations: 0.5174 MB / 0.9945 GB, free: 252 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=87): time 2.124e-06/0.6124, allocations: 0 / 0.9945 GB, free: 252 kB / 0.7605 GB Notification: Performance of matching and sorting (n=87): time 0.001964/0.6144, allocations: 1.211 MB / 0.9956 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.6145, allocations: 193 kB / 0.9958 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009441/0.6154, allocations: 0.7666 MB / 0.9966 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.6154, allocations: 45.7 kB / 0.9966 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.6158, allocations: 0.5437 MB / 0.9971 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.6159, allocations: 285.6 kB / 0.9974 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.6161, allocations: 162.6 kB / 0.9976 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.6162, allocations: 334 kB / 0.9979 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.6165, allocations: 269.9 kB / 0.9981 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.6169, allocations: 386.5 kB / 0.9985 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000741/0.6176, allocations: 0.6359 MB / 0.9991 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.6176, allocations: 4 kB / 0.9991 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001229/0.6189, allocations: 0.8803 MB / 1 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.6189, allocations: 7.938 kB / 1 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6189, allocations: 0 / 1 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.6192, allocations: 84.86 kB / 1 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.6196, allocations: 163.7 kB / 1 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.6209, allocations: 1.546 MB / 1.002 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.6213, allocations: 91.5 kB / 1.002 GB, free: 8.418 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6214, allocations: 35.98 kB / 1.002 GB, free: 8.383 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 (96): * Single equations (assignments): 95 * 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.0004181/0.6218, allocations: 305.5 kB / 1.002 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.6219, allocations: 99.34 kB / 1.002 GB, free: 7.977 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.6236, allocations: 1.13 MB / 1.003 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6236, allocations: 8 kB / 1.003 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6236, allocations: 0 / 1.003 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6236, allocations: 3.984 kB / 1.003 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008794/0.6245, allocations: 1.039 MB / 1.004 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6245, allocations: 3.984 kB / 1.004 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000333/0.6248, allocations: 155.7 kB / 1.005 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/0.625, allocations: 72.8 kB / 1.005 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-05/0.6251, allocations: 35.91 kB / 1.005 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.6262, allocations: 1.547 MB / 1.006 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6262, allocations: 3.984 kB / 1.006 GB, free: 3.801 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.6275, allocations: 0.9907 MB / 1.007 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.6278, allocations: 222.9 kB / 1.007 GB, free: 2.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.633e-05/0.6279, allocations: 20 kB / 1.007 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.6282, allocations: 71.86 kB / 1.007 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6283, allocations: 76.86 kB / 1.008 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.6283, allocations: 35.97 kB / 1.008 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000492/0.6288, allocations: 0.5342 MB / 1.008 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-08/0.6288, allocations: 0 / 1.008 GB, free: 1.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007551/0.6296, allocations: 390.8 kB / 1.008 GB, free: 1.457 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 (98): * Single equations (assignments): 92 * 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.002642/0.6322, allocations: 2.053 MB / 1.01 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.6334, allocations: 0.8236 MB / 1.011 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6334, allocations: 0 / 1.011 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.6339, allocations: 0.5119 MB / 1.012 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007961/0.6347, allocations: 336.6 kB / 1.012 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008282/0.643, allocations: 7.141 MB / 1.019 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004793/0.6435, allocations: 1.114 MB / 1.02 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006011/0.6441, allocations: 275.8 kB / 1.02 GB, free: 5.215 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.6446, allocations: 495.2 kB / 1.021 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of SimCode: time 1.423e-06/0.6446, allocations: 0 / 1.021 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.6905, allocations: 25.14 MB / 1.045 GB, free: 11.78 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.31/10, allocations: 8 kB / 1.045 GB, free: 11.77 MB / 0.823 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.05006322497502] Failed to read output from testmodel.py, exit status != 0: 10.148527092998847 10.156553514 9.554911373 Calling exit ...