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.006051/0.006051, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001539/0.001539, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7622/0.7622, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 58.53 kB / 0.5808 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1312, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.00868/0.1399, allocations: 6.95 MB / 0.6659 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4337/0.5736, allocations: 155.7 MB / 0.818 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.5748, allocations: 30.31 kB / 0.8181 GB, free: 9.461 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.0007019/0.5755, allocations: 284.4 kB / 0.8183 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001741/0.5772, allocations: 0.7095 MB / 0.819 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.5796, allocations: 1.283 MB / 0.8203 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003794/0.5835, allocations: 4.569 MB / 0.8247 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.5862, allocations: 2.682 MB / 0.8274 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.5887, allocations: 1.75 MB / 0.8291 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001762/0.5904, allocations: 1.795 MB / 0.8308 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.5909, allocations: 467.8 kB / 0.8313 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.5925, allocations: 1.06 MB / 0.8323 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008012/0.5933, allocations: 0.9921 MB / 0.8333 GB, free: 216 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.595, allocations: 1.891 MB / 0.8351 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005537/0.6006, allocations: 5.577 MB / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6006, allocations: 0 / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6006, allocations: 3.938 kB / 0.8406 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001192/0.6007, allocations: 0 / 0.8406 GB, free: 10.73 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.006977/0.6077, allocations: 4.011 MB / 0.8445 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.6078, allocations: 7.031 kB / 0.8445 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004788/0.6083, allocations: 427.1 kB / 0.8449 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008603/0.6169, allocations: 1.305 MB / 0.8462 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00329/0.6202, allocations: 2.189 MB / 0.8483 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.6204, allocations: 234 kB / 0.8485 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/0.6208, allocations: 288 kB / 0.8488 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008285/0.6291, allocations: 4.452 MB / 0.8532 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.153e-05/0.6292, allocations: 8 kB / 0.8532 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003111/0.6295, allocations: 120 kB / 0.8533 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.6295, allocations: 76 kB / 0.8533 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01066/0.6402, allocations: 4.909 MB / 0.8581 GB, free: 10.25 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.02184/0.6621, allocations: 14.05 MB / 0.8719 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.6726, allocations: 4.043 MB / 0.8758 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003711/0.6763, allocations: 1.669 MB / 0.8774 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/0.6776, allocations: 1.077 MB / 0.8785 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00434/0.6819, allocations: 2.031 MB / 0.8805 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 3.687e-06/0.6819, allocations: 0 / 0.8805 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.01336/0.6953, allocations: 5.247 MB / 0.8856 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6954, allocations: 201.9 kB / 0.8858 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.6984, allocations: 1.973 MB / 0.8877 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002051/0.6986, allocations: 61.7 kB / 0.8878 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.6998, allocations: 1.23 MB / 0.889 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007211/0.7005, allocations: 0.7514 MB / 0.8897 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009769/0.7015, allocations: 0.5033 MB / 0.8902 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7016, allocations: 309.1 kB / 0.8905 GB, free: 8.012 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003703/0.7053, allocations: 1.55 MB / 0.892 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/0.7093, allocations: 1.866 MB / 0.8938 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/0.7171, allocations: 3.396 MB / 0.8972 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.7171, allocations: 0 / 0.8972 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009527/0.7266, allocations: 3.916 MB / 0.901 GB, free: 13.09 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.7267, allocations: 8 kB / 0.901 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.7267, allocations: 4 kB / 0.901 GB, free: 13.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/0.7273, allocations: 101.2 kB / 0.9011 GB, free: 12.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.7306, allocations: 0.6824 MB / 0.9018 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.7328, allocations: 1.698 MB / 0.9034 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/0.736, allocations: 435.7 kB / 0.9038 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000315/0.7363, allocations: 127.9 kB / 0.904 GB, free: 9.895 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.001723/0.738, allocations: 0.9361 MB / 0.9049 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/0.7387, allocations: 230.5 kB / 0.9051 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/0.7488, allocations: 4.208 MB / 0.9092 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.7489, allocations: 24 kB / 0.9092 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7489, allocations: 0 / 0.9092 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.7489, allocations: 15.95 kB / 0.9092 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.7635, allocations: 7.872 MB / 0.9169 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.7635, allocations: 0 / 0.9169 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/0.7663, allocations: 0.5733 MB / 0.9175 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004943/0.7668, allocations: 88.77 kB / 0.9176 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.7671, allocations: 67.89 kB / 0.9176 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.7692, allocations: 1.721 MB / 0.9193 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7692, allocations: 0 / 0.9193 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008266/0.7774, allocations: 3.482 MB / 0.9227 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.7789, allocations: 0.7564 MB / 0.9234 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000597/0.7795, allocations: 59.78 kB / 0.9235 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/0.782, allocations: 279.5 kB / 0.9238 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.7823, allocations: 141.8 kB / 0.9239 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/0.7825, allocations: 83.94 kB / 0.924 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002589/0.7851, allocations: 1.519 MB / 0.9255 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7851, allocations: 0 / 0.9255 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002407/0.7875, allocations: 0.8726 MB / 0.9263 GB, free: 2.566 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.01025/0.7978, allocations: 4.616 MB / 0.9308 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008272/0.8061, allocations: 3.557 MB / 0.9343 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.8061, allocations: 0 / 0.9343 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003856/0.81, allocations: 1.798 MB / 0.9361 GB, free: 8.754 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.8122, allocations: 449.1 kB / 0.9365 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04623/0.8585, allocations: 24.28 MB / 0.9602 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.8606, allocations: 2.273 MB / 0.9624 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002876/0.8635, allocations: 0.9418 MB / 0.9633 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002253/0.8658, allocations: 1.257 MB / 0.9646 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8658, allocations: 0 / 0.9646 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8767/1.742, allocations: 60.66 MB / 1.024 GB, free: 14.78 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/17.06, allocations: 26.67 kB / 1.024 GB, free: 14.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez_fmu --startTime=0 --stopTime=1e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_Examples_SimInfoManagerPerez.fmu > IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.pipe 2>&1)