Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001227/0.001227, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001427/0.001427, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.361/1.361, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.812/0.812, allocations: 134 MB / 447.2 MB, free: 10.21 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.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.001846/0.001846, allocations: 70.05 kB / 0.6193 GB, free: 7.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1693, allocations: 85.9 MB / 0.7032 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007804/0.1771, allocations: 5.022 MB / 0.7081 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5503/0.7274, allocations: 154.3 MB / 0.8588 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007032/0.7281, allocations: 23.81 kB / 0.8588 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.7287, allocations: 206.6 kB / 0.859 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.7304, allocations: 0.587 MB / 0.8596 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.7326, allocations: 0.9697 MB / 0.8605 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001809/0.7344, allocations: 1.574 MB / 0.8621 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.7355, allocations: 0.8296 MB / 0.8629 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009089/0.7364, allocations: 0.724 MB / 0.8636 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008368/0.7373, allocations: 0.7467 MB / 0.8643 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.7375, allocations: 195.9 kB / 0.8645 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.7385, allocations: 0.5855 MB / 0.8651 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.7389, allocations: 442.6 kB / 0.8655 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.7396, allocations: 0.8239 MB / 0.8663 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.7422, allocations: 2.36 MB / 0.8686 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7422, allocations: 0 / 0.8686 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7422, allocations: 4 kB / 0.8686 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.196e-05/0.7423, allocations: 0 / 0.8686 GB, free: 13.09 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003158/0.7454, allocations: 1.826 MB / 0.8704 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.7455, allocations: 12.03 kB / 0.8704 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.426e-05/0.7455, allocations: 39.16 kB / 0.8704 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002475/0.7458, allocations: 215.6 kB / 0.8707 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00285/0.7486, allocations: 387.6 kB / 0.871 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.7501, allocations: 0.879 MB / 0.8719 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.7502, allocations: 162.4 kB / 0.872 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.7504, allocations: 144 kB / 0.8722 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.7528, allocations: 1.457 MB / 0.8736 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.7529, allocations: 0 / 0.8736 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.753, allocations: 64 kB / 0.8737 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.753, allocations: 36 kB / 0.8737 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.7555, allocations: 1.494 MB / 0.8752 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006019/0.7615, allocations: 3.852 MB / 0.8789 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.763, allocations: 0.8397 MB / 0.8797 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/0.7636, allocations: 343.7 kB / 0.8801 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.603e-05/0.7637, allocations: 41.08 kB / 0.8801 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.7647, allocations: 0.5397 MB / 0.8806 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=93): time 2.175e-06/0.7647, allocations: 0 / 0.8806 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of matching and sorting (n=93): time 0.003377/0.7681, allocations: 1.302 MB / 0.8819 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.7682, allocations: 196.9 kB / 0.8821 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.7693, allocations: 0.7903 MB / 0.8829 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.7694, allocations: 45.7 kB / 0.8829 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.7698, allocations: 0.5946 MB / 0.8835 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.7701, allocations: 333.1 kB / 0.8838 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.7704, allocations: 174.5 kB / 0.884 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7706, allocations: 338 kB / 0.8843 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.7712, allocations: 305.8 kB / 0.8846 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.7719, allocations: 435.4 kB / 0.885 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.7733, allocations: 0.7422 MB / 0.8857 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7733, allocations: 0 / 0.8857 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002218/0.7755, allocations: 0.9741 MB / 0.8867 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.7755, allocations: 8 kB / 0.8867 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.7755, allocations: 7.922 kB / 0.8867 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.7761, allocations: 80.84 kB / 0.8868 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.7769, allocations: 187.7 kB / 0.8869 GB, free: 9.918 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.7791, allocations: 1.539 MB / 0.8884 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/0.7798, allocations: 105.1 kB / 0.8885 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.7799, allocations: 40.03 kB / 0.8886 GB, free: 8.121 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0005357/0.7804, allocations: 329.7 kB / 0.8889 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.7806, allocations: 108.2 kB / 0.889 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00283/0.7834, allocations: 1.286 MB / 0.8903 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7835, allocations: 19.94 kB / 0.8903 GB, free: 6.363 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7835, allocations: 3.938 kB / 0.8903 GB, free: 6.359 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.7835, allocations: 3.984 kB / 0.8903 GB, free: 6.355 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.7877, allocations: 2.48 MB / 0.8927 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7877, allocations: 0 / 0.8927 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.7884, allocations: 183.7 kB / 0.8929 GB, free: 3.641 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004278/0.7889, allocations: 72.8 kB / 0.893 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.7889, allocations: 31.97 kB / 0.893 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.7909, allocations: 1.555 MB / 0.8945 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7909, allocations: 3.984 kB / 0.8945 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.7931, allocations: 1.127 MB / 0.8956 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004721/0.7936, allocations: 254.9 kB / 0.8958 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.7937, allocations: 23.95 kB / 0.8959 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.7944, allocations: 59.94 kB / 0.8959 GB, free: 384 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.7945, allocations: 84.84 kB / 0.896 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/0.7946, allocations: 39.97 kB / 0.896 GB, free: 260 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007835/0.7954, allocations: 0.5771 MB / 0.8966 GB, free: 15.68 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7954, allocations: 0 / 0.8966 GB, free: 15.68 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001011/0.7964, allocations: 406.6 kB / 0.897 GB, free: 15.29 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * 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.004458/0.8009, allocations: 2.168 MB / 0.8991 GB, free: 13.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002/0.8029, allocations: 0.9014 MB / 0.9 GB, free: 12.39 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.8029, allocations: 0 / 0.9 GB, free: 12.39 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.8039, allocations: 0.5473 MB / 0.9005 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.8054, allocations: 309.3 kB / 0.9008 GB, free: 11.55 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/0.82, allocations: 8.025 MB / 0.9087 GB, free: 3.367 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/0.8208, allocations: 1.177 MB / 0.9098 GB, free: 2.164 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009797/0.8218, allocations: 299.9 kB / 0.9101 GB, free: 1.867 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008779/0.8227, allocations: 0.5617 MB / 0.9106 GB, free: 1.305 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.8227, allocations: 0 / 0.9106 GB, free: 1.305 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.8876, allocations: 26.77 MB / 0.9368 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.89, allocations: 12 kB / 0.9368 GB, free: 6.699 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.652722056023777] Failed to read output from testmodel.py, exit status != 0: 15.171262233983725 15.187031409 14.441854986 Calling exit ...