Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001583/0.001583, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.793 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.8451/0.8451, allocations: 134 MB / 446.4 MB, free: 9.969 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.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez",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.001969/0.001969, allocations: 66.73 kB / 0.6185 GB, free: 6.914 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 85.91 MB / 0.7024 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009079/0.1872, allocations: 6.226 MB / 0.7084 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5418/0.7289, allocations: 137.4 MB / 0.8426 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.7305, allocations: 43.69 kB / 0.8426 GB, free: 3.793 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0009344/0.7315, allocations: 301.1 kB / 0.8429 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.7338, allocations: 0.7422 MB / 0.8436 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.737, allocations: 1.316 MB / 0.8449 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005735/0.7427, allocations: 4.582 MB / 0.8494 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.7453, allocations: 1.574 MB / 0.8509 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.7487, allocations: 1.916 MB / 0.8528 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.7511, allocations: 1.809 MB / 0.8546 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0006797/0.7518, allocations: 468 kB / 0.855 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.754, allocations: 1.062 MB / 0.8561 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008974/0.7549, allocations: 0.9815 MB / 0.857 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.7566, allocations: 1.493 MB / 0.8585 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006462/0.7631, allocations: 5.631 MB / 0.864 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.7631, allocations: 0 / 0.864 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7631, allocations: 0 / 0.864 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001272/0.7632, allocations: 4 kB / 0.864 GB, free: 13.82 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.007864/0.7711, allocations: 3.917 MB / 0.8678 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7711, allocations: 8.031 kB / 0.8678 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000527/0.7716, allocations: 429.5 kB / 0.8682 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/0.7862, allocations: 1.987 MB / 0.8702 GB, free: 7.422 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.7907, allocations: 2.168 MB / 0.8723 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.7909, allocations: 230 kB / 0.8725 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005881/0.7915, allocations: 292 kB / 0.8728 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009347/0.8009, allocations: 4.682 MB / 0.8774 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/0.8009, allocations: 3.938 kB / 0.8774 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.8012, allocations: 128 kB / 0.8775 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.8013, allocations: 76 kB / 0.8776 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.8122, allocations: 4.799 MB / 0.8822 GB, free: 10.82 MB / 0.6544 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.8354, allocations: 10.33 MB / 0.8923 GB, free: 360 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.8464, allocations: 3.795 MB / 0.896 GB, free: 12.55 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.8504, allocations: 1.541 MB / 0.8975 GB, free: 11.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008341/0.8513, allocations: 166.1 kB / 0.8977 GB, free: 10.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005094/0.8563, allocations: 2.12 MB / 0.8998 GB, free: 8.684 MB / 0.67 GB Notification: Performance of pre-optimization done (n=214): time 5.451e-06/0.8564, allocations: 3.938 kB / 0.8998 GB, free: 8.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=214): time 0.01428/0.8706, allocations: 5.081 MB / 0.9047 GB, free: 3.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.8708, allocations: 209.9 kB / 0.9049 GB, free: 3.344 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.8742, allocations: 1.896 MB / 0.9068 GB, free: 1.398 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.8745, allocations: 61.7 kB / 0.9068 GB, free: 1.332 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.8758, allocations: 1.23 MB / 0.908 GB, free: 88 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000935/0.8768, allocations: 0.7554 MB / 0.9088 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.8779, allocations: 0.5033 MB / 0.9093 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.878, allocations: 301.1 kB / 0.9096 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003836/0.8818, allocations: 1.526 MB / 0.9111 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004204/0.8861, allocations: 1.99 MB / 0.913 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007804/0.8939, allocations: 3.342 MB / 0.9163 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.8939, allocations: 4 kB / 0.9163 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01018/0.904, allocations: 3.854 MB / 0.92 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.9041, allocations: 11.98 kB / 0.92 GB, free: 3.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/0.9041, allocations: 4.469 kB / 0.92 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006114/0.9047, allocations: 96.72 kB / 0.9201 GB, free: 3.461 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.9081, allocations: 0.6747 MB / 0.9208 GB, free: 2.785 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.9104, allocations: 1.589 MB / 0.9223 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003465/0.9139, allocations: 406.2 kB / 0.9227 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/0.9143, allocations: 123.8 kB / 0.9229 GB, free: 0.5625 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 12 (sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (265): * Single equations (assignments): 264 * 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.002574/0.9169, allocations: 0.9481 MB / 0.9238 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008767/0.9178, allocations: 234.4 kB / 0.924 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.9289, allocations: 4.168 MB / 0.9281 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-05/0.9289, allocations: 23.94 kB / 0.9281 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9289, allocations: 4 kB / 0.9281 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.929, allocations: 11.95 kB / 0.9281 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01616/0.9451, allocations: 7.29 MB / 0.9352 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.9451, allocations: 0 / 0.9352 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/0.9481, allocations: 0.5616 MB / 0.9358 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004832/0.9486, allocations: 80.78 kB / 0.9359 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.9488, allocations: 71.94 kB / 0.9359 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00209/0.9509, allocations: 1.594 MB / 0.9375 GB, free: 1.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.9509, allocations: 4.031 kB / 0.9375 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008456/0.9594, allocations: 3.431 MB / 0.9408 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/0.9614, allocations: 0.6874 MB / 0.9415 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006098/0.962, allocations: 63.72 kB / 0.9416 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002455/0.9644, allocations: 247.7 kB / 0.9418 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/0.9647, allocations: 157.7 kB / 0.942 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/0.965, allocations: 83.94 kB / 0.942 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002819/0.9678, allocations: 1.441 MB / 0.9434 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9678, allocations: 0 / 0.9434 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002783/0.9706, allocations: 0.8725 MB / 0.9443 GB, free: 10.23 MB / 0.7169 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,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.01095/0.9815, allocations: 4.607 MB / 0.9488 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008576/0.9901, allocations: 3.388 MB / 0.9521 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.9901, allocations: 0 / 0.9521 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003977/0.9941, allocations: 1.658 MB / 0.9537 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.9968, allocations: 445.4 kB / 0.9541 GB, free: 372 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05254/1.049, allocations: 23.54 MB / 0.9771 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002829/1.052, allocations: 1.718 MB / 0.9788 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003796/1.056, allocations: 0.934 MB / 0.9797 GB, free: 5.762 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/1.059, allocations: 1.272 MB / 0.981 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of SimCode: time 1.613e-06/1.059, allocations: 0 / 0.981 GB, free: 4.488 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.186, allocations: 62.75 MB / 1.042 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.74, allocations: 14.53 kB / 1.042 GB, free: 6.043 MB / 0.8106 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.637874852400273] Failed to read output from testmodel.py, exit status != 0: 15.995737061835825 16.024219683 15.255790054 Calling exit ...