Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004917/0.004918, allocations: 98.56 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 196 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8931/0.8931, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 63.91 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3167, allocations: 80.92 MB / 0.6641 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005136/0.3219, allocations: 4.907 MB / 0.6689 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.4705, allocations: 150.8 MB / 0.8162 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.4713, allocations: 19.94 kB / 0.8162 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.4718, allocations: 198.1 kB / 0.8164 GB, free: 5.051 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001535/0.4734, allocations: 0.5633 MB / 0.817 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.4753, allocations: 0.9353 MB / 0.8179 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.4766, allocations: 1.565 MB / 0.8194 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.4779, allocations: 1.144 MB / 0.8205 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.4786, allocations: 0.6928 MB / 0.8212 GB, free: 112 kB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006743/0.4793, allocations: 0.7429 MB / 0.8219 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.4795, allocations: 188 kB / 0.8221 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007238/0.4802, allocations: 0.5463 MB / 0.8226 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.4805, allocations: 434.7 kB / 0.8231 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006208/0.4812, allocations: 0.8161 MB / 0.8239 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.4832, allocations: 2.321 MB / 0.8261 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4832, allocations: 0 / 0.8261 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4832, allocations: 0 / 0.8261 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.4832, allocations: 0 / 0.8261 GB, free: 11.06 MB / 0.6544 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.002766/0.486, allocations: 1.874 MB / 0.828 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.4861, allocations: 8.031 kB / 0.828 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002297/0.4863, allocations: 211.6 kB / 0.8282 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009908/0.4873, allocations: 251.7 kB / 0.8284 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.4886, allocations: 0.9272 MB / 0.8293 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.4887, allocations: 148.6 kB / 0.8295 GB, free: 7.527 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.4889, allocations: 140 kB / 0.8296 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002381/0.4913, allocations: 1.465 MB / 0.831 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.4914, allocations: 0 / 0.831 GB, free: 5.871 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.4915, allocations: 60 kB / 0.8311 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.4915, allocations: 36 kB / 0.8311 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.4939, allocations: 1.498 MB / 0.8326 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005639/0.4996, allocations: 3.898 MB / 0.8364 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.5012, allocations: 0.8964 MB / 0.8373 GB, free: 15.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000632/0.5018, allocations: 371.6 kB / 0.8376 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.533e-05/0.5019, allocations: 45.08 kB / 0.8376 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000959/0.5029, allocations: 0.5397 MB / 0.8382 GB, free: 14.43 MB / 0.67 GB Notification: Performance of pre-optimization done (n=93): time 2.255e-06/0.5029, allocations: 0 / 0.8382 GB, free: 14.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=93): time 0.003401/0.5063, allocations: 1.381 MB / 0.8395 GB, free: 13.03 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.5064, allocations: 196.9 kB / 0.8397 GB, free: 12.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008933/0.5073, allocations: 0.759 MB / 0.8405 GB, free: 12.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.5074, allocations: 45.7 kB / 0.8405 GB, free: 11.97 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.5078, allocations: 0.5906 MB / 0.8411 GB, free: 11.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.508, allocations: 329.2 kB / 0.8414 GB, free: 11.05 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.5083, allocations: 174.6 kB / 0.8416 GB, free: 10.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5084, allocations: 337.9 kB / 0.8419 GB, free: 10.54 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006197/0.509, allocations: 305.8 kB / 0.8422 GB, free: 10.24 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.5098, allocations: 439.2 kB / 0.8426 GB, free: 9.781 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.5112, allocations: 0.7422 MB / 0.8433 GB, free: 9.023 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5112, allocations: 0 / 0.8433 GB, free: 9.023 MB / 0.67 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002201/0.5134, allocations: 0.9858 MB / 0.8443 GB, free: 8.027 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.5134, allocations: 7.938 kB / 0.8443 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.5134, allocations: 0 / 0.8443 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/0.514, allocations: 84.83 kB / 0.8444 GB, free: 7.934 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.5149, allocations: 187.7 kB / 0.8445 GB, free: 7.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.517, allocations: 1.646 MB / 0.8462 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.5177, allocations: 95.31 kB / 0.8462 GB, free: 5.863 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.5178, allocations: 39.97 kB / 0.8463 GB, free: 5.824 MB / 0.67 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.0004297/0.5183, allocations: 325.6 kB / 0.8466 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.5185, allocations: 103.3 kB / 0.8467 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/0.5214, allocations: 1.298 MB / 0.848 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5214, allocations: 12 kB / 0.848 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5214, allocations: 4 kB / 0.848 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5214, allocations: 3.984 kB / 0.848 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.5254, allocations: 2.501 MB / 0.8504 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5254, allocations: 0 / 0.8504 GB, free: 1.504 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.5261, allocations: 175.8 kB / 0.8506 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.5266, allocations: 84.66 kB / 0.8507 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.5267, allocations: 23.98 kB / 0.8507 GB, free: 1.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00187/0.5286, allocations: 1.666 MB / 0.8523 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5286, allocations: 4 kB / 0.8523 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.5308, allocations: 1.127 MB / 0.8534 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/0.5312, allocations: 324 kB / 0.8537 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.5314, allocations: 27.94 kB / 0.8538 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.5321, allocations: 62.12 kB / 0.8538 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.5323, allocations: 76.89 kB / 0.8539 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.5324, allocations: 35.98 kB / 0.8539 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006851/0.5331, allocations: 0.5692 MB / 0.8545 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.492e-06/0.5331, allocations: 0 / 0.8545 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008433/0.5339, allocations: 402.6 kB / 0.8549 GB, free: 12.77 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 (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.003605/0.5375, allocations: 2.165 MB / 0.857 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.5393, allocations: 0.9327 MB / 0.8579 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5393, allocations: 0 / 0.8579 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.5403, allocations: 0.5785 MB / 0.8585 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.5416, allocations: 321.5 kB / 0.8588 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/0.5544, allocations: 7.951 MB / 0.8665 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2372/0.7916, allocations: 1.162 MB / 0.8677 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001076/0.7927, allocations: 293.5 kB / 0.8679 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008237/0.7936, allocations: 0.5532 MB / 0.8685 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.323e-06/0.7936, allocations: 0.7188 kB / 0.8685 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05032/0.8439, allocations: 25.69 MB / 0.8936 GB, free: 179.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.17, allocations: 11.98 kB / 0.8936 GB, free: 179.6 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_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_DirectTiltedSurface.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)