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.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/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004414/0.004414, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001258/0.001258, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8279/0.8279, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 74.11 kB / 0.5808 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1328, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009296/0.1422, allocations: 6.955 MB / 0.6659 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.449/0.5912, allocations: 155.7 MB / 0.818 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.5921, allocations: 30.31 kB / 0.8181 GB, free: 9.441 MB / 0.5919 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.0007995/0.593, allocations: 279.2 kB / 0.8183 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00182/0.5948, allocations: 0.7171 MB / 0.819 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.5974, allocations: 1.287 MB / 0.8203 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.6017, allocations: 4.566 MB / 0.8247 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.6047, allocations: 2.682 MB / 0.8274 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.6073, allocations: 1.752 MB / 0.8291 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.6092, allocations: 1.786 MB / 0.8308 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004693/0.6097, allocations: 467.8 kB / 0.8313 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.6113, allocations: 1.063 MB / 0.8323 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00088/0.6122, allocations: 0.9875 MB / 0.8333 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.6141, allocations: 1.893 MB / 0.8351 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005544/0.6196, allocations: 5.588 MB / 0.8406 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6197, allocations: 0 / 0.8406 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6197, allocations: 0 / 0.8406 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.736e-05/0.6197, allocations: 0 / 0.8406 GB, free: 10.67 MB / 0.6075 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.007207/0.6269, allocations: 4.004 MB / 0.8445 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.627, allocations: 10.28 kB / 0.8445 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005338/0.6275, allocations: 427 kB / 0.8449 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009597/0.6371, allocations: 1.303 MB / 0.8462 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.6408, allocations: 2.193 MB / 0.8483 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.641, allocations: 230 kB / 0.8485 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.6415, allocations: 288 kB / 0.8488 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009374/0.6509, allocations: 4.453 MB / 0.8531 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/0.651, allocations: 11.92 kB / 0.8532 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.6513, allocations: 128 kB / 0.8533 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.6514, allocations: 72 kB / 0.8534 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01184/0.6632, allocations: 4.905 MB / 0.8581 GB, free: 10.2 MB / 0.6231 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.02262/0.6859, allocations: 14.05 MB / 0.8719 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.6974, allocations: 4.041 MB / 0.8758 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004158/0.7016, allocations: 1.669 MB / 0.8774 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.7029, allocations: 1.077 MB / 0.8785 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004856/0.7078, allocations: 2.039 MB / 0.8805 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.977e-06/0.7078, allocations: 0 / 0.8805 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01447/0.7223, allocations: 5.239 MB / 0.8856 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/0.7225, allocations: 209.9 kB / 0.8858 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.7256, allocations: 1.97 MB / 0.8877 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000215/0.7258, allocations: 65.7 kB / 0.8878 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.727, allocations: 1.226 MB / 0.889 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000769/0.7278, allocations: 0.7514 MB / 0.8897 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009613/0.7288, allocations: 0.5033 MB / 0.8902 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7289, allocations: 305.1 kB / 0.8905 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.733, allocations: 1.55 MB / 0.892 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004504/0.7375, allocations: 1.87 MB / 0.8938 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008489/0.746, allocations: 3.394 MB / 0.8972 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.746, allocations: 4 kB / 0.8972 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.0105/0.7565, allocations: 3.912 MB / 0.901 GB, free: 13.04 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.7566, allocations: 8 kB / 0.901 GB, free: 13.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.7566, allocations: 4 kB / 0.901 GB, free: 13.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006396/0.7572, allocations: 101.2 kB / 0.9011 GB, free: 12.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003674/0.7609, allocations: 0.6824 MB / 0.9017 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.7634, allocations: 1.706 MB / 0.9034 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/0.7668, allocations: 430.1 kB / 0.9038 GB, free: 9.965 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002989/0.7671, allocations: 123.8 kB / 0.9039 GB, free: 9.844 MB / 0.67 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.001893/0.769, allocations: 0.9362 MB / 0.9049 GB, free: 8.895 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/0.7695, allocations: 230.5 kB / 0.9051 GB, free: 8.668 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.7805, allocations: 4.214 MB / 0.9092 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/0.7806, allocations: 24 kB / 0.9092 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7806, allocations: 0 / 0.9092 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/0.7806, allocations: 11.95 kB / 0.9092 GB, free: 4.398 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.7959, allocations: 7.876 MB / 0.9169 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.7959, allocations: 4 kB / 0.9169 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/0.799, allocations: 0.5695 MB / 0.9175 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004854/0.7995, allocations: 88.66 kB / 0.9176 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.7997, allocations: 71.88 kB / 0.9176 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.8019, allocations: 1.717 MB / 0.9193 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8019, allocations: 0 / 0.9193 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008861/0.8108, allocations: 3.482 MB / 0.9227 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/0.8122, allocations: 0.7564 MB / 0.9234 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/0.8126, allocations: 63.78 kB / 0.9235 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.815, allocations: 277.7 kB / 0.9238 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.8154, allocations: 145.8 kB / 0.9239 GB, free: 4.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002095/0.8156, allocations: 83.94 kB / 0.924 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002284/0.8179, allocations: 1.511 MB / 0.9255 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8179, allocations: 0 / 0.9255 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002117/0.82, allocations: 0.8726 MB / 0.9263 GB, free: 2.508 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,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.01073/0.8308, allocations: 4.619 MB / 0.9308 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.841, allocations: 3.553 MB / 0.9343 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.8411, allocations: 0 / 0.9343 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005454/0.8465, allocations: 1.798 MB / 0.9361 GB, free: 8.691 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.8487, allocations: 448.2 kB / 0.9365 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04851/0.8972, allocations: 24.29 MB / 0.9602 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/0.8993, allocations: 2.273 MB / 0.9624 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00306/0.9024, allocations: 0.9263 MB / 0.9633 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/0.9048, allocations: 1.261 MB / 0.9646 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.9048, allocations: 0 / 0.9646 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1171/1.022, allocations: 60.68 MB / 1.024 GB, free: 14.72 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.52, allocations: 25.88 kB / 1.024 GB, free: 14.7 MB / 0.795 GB (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)