Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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.001315/0.001315, allocations: 113 kB / 18.94 MB, free: 2.934 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.001512/0.001512, allocations: 210.5 kB / 22.25 MB, free: 5.082 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 8.023 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.8658/0.8658, allocations: 134 MB / 446.4 MB, free: 10.22 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.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",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.001989/0.001989, allocations: 70.11 kB / 0.6187 GB, free: 7.023 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 85.92 MB / 0.7026 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01066/0.1889, allocations: 7.237 MB / 0.7097 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5495/0.7384, allocations: 159.1 MB / 0.8651 GB, free: 188 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.7401, allocations: 39.75 kB / 0.8651 GB, free: 148 kB / 0.6231 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.0009928/0.741, allocations: 289.2 kB / 0.8654 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002595/0.7436, allocations: 0.7469 MB / 0.8661 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.7469, allocations: 1.255 MB / 0.8673 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005705/0.7526, allocations: 4.086 MB / 0.8713 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.7553, allocations: 1.5 MB / 0.8728 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003494/0.7588, allocations: 1.769 MB / 0.8745 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.7616, allocations: 1.766 MB / 0.8763 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.7626, allocations: 348 kB / 0.8766 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.7651, allocations: 0.9953 MB / 0.8776 GB, free: 3.324 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009706/0.766, allocations: 0.907 MB / 0.8784 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002721/0.7688, allocations: 1.733 MB / 0.8801 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007992/0.7768, allocations: 4.76 MB / 0.8848 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.7768, allocations: 4 kB / 0.8848 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7768, allocations: 0 / 0.8848 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001705/0.7769, allocations: 0 / 0.8848 GB, free: 11.89 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.009568/0.7865, allocations: 3.957 MB / 0.8887 GB, free: 7.883 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7865, allocations: 12.03 kB / 0.8887 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005691/0.7871, allocations: 429.7 kB / 0.8891 GB, free: 7.441 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.8037, allocations: 1.999 MB / 0.891 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004607/0.8083, allocations: 1.927 MB / 0.8929 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.8085, allocations: 226.1 kB / 0.8931 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007383/0.8092, allocations: 296 kB / 0.8934 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.8194, allocations: 4.208 MB / 0.8975 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-05/0.8194, allocations: 4 kB / 0.8975 GB, free: 14.63 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.8197, allocations: 131.9 kB / 0.8976 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/0.8198, allocations: 72 kB / 0.8977 GB, free: 14.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/0.8319, allocations: 4.592 MB / 0.9022 GB, free: 9.828 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/0.8612, allocations: 12.78 MB / 0.9147 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01166/0.8729, allocations: 3.627 MB / 0.9182 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004101/0.877, allocations: 1.454 MB / 0.9196 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/0.8778, allocations: 181.7 kB / 0.9198 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004905/0.8827, allocations: 1.948 MB / 0.9217 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 4.629e-06/0.8827, allocations: 0 / 0.9217 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01438/0.8971, allocations: 4.851 MB / 0.9264 GB, free: 192 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.8973, allocations: 253.3 kB / 0.9267 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.9012, allocations: 1.984 MB / 0.9286 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005789/0.9018, allocations: 61.7 kB / 0.9287 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/0.9034, allocations: 1.286 MB / 0.9299 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.9046, allocations: 0.7901 MB / 0.9307 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.906, allocations: 0.5074 MB / 0.9312 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9061, allocations: 305.1 kB / 0.9315 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/0.9099, allocations: 1.429 MB / 0.9329 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00439/0.9143, allocations: 1.747 MB / 0.9346 GB, free: 7.586 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008656/0.9229, allocations: 3.172 MB / 0.9377 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.365e-05/0.9229, allocations: 0 / 0.9377 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01077/0.9337, allocations: 3.702 MB / 0.9413 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.9337, allocations: 8 kB / 0.9413 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.9337, allocations: 8 kB / 0.9413 GB, free: 0.6133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006629/0.9344, allocations: 88.95 kB / 0.9414 GB, free: 0.5234 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.9384, allocations: 0.702 MB / 0.9421 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.9409, allocations: 1.547 MB / 0.9436 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003787/0.9447, allocations: 447.7 kB / 0.944 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004652/0.9452, allocations: 127.8 kB / 0.9442 GB, free: 13.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 12 (radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,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 (274): * Single equations (assignments): 273 * 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.001877/0.947, allocations: 0.7985 MB / 0.9449 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/0.9478, allocations: 242.5 kB / 0.9452 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.9582, allocations: 4.028 MB / 0.9491 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.9582, allocations: 31.98 kB / 0.9491 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.9582, allocations: 0 / 0.9491 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.734e-05/0.9582, allocations: 11.95 kB / 0.9491 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.9736, allocations: 7.197 MB / 0.9562 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.9736, allocations: 0 / 0.9562 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003251/0.9768, allocations: 0.5968 MB / 0.9568 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.9774, allocations: 80.78 kB / 0.9568 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.9776, allocations: 63.95 kB / 0.9569 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/0.9798, allocations: 1.566 MB / 0.9584 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9798, allocations: 4.062 kB / 0.9584 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008746/0.9886, allocations: 3.342 MB / 0.9617 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002049/0.9906, allocations: 0.6362 MB / 0.9623 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006488/0.9913, allocations: 67.73 kB / 0.9624 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/0.994, allocations: 275.6 kB / 0.9626 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003717/0.9944, allocations: 165.7 kB / 0.9628 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002159/0.9946, allocations: 87.94 kB / 0.9629 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002845/0.9974, allocations: 1.502 MB / 0.9644 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9974, allocations: 0 / 0.9644 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003003/1, allocations: 0.8921 MB / 0.9652 GB, free: 7.652 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (251): * Single equations (assignments): 248 * 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.01147/1.012, allocations: 4.499 MB / 0.9696 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009508/1.021, allocations: 3.237 MB / 0.9728 GB, free: 92 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.021, allocations: 3.938 kB / 0.9728 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/1.026, allocations: 1.61 MB / 0.9744 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.028, allocations: 454.1 kB / 0.9748 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05445/1.083, allocations: 23.56 MB / 0.9978 GB, free: 6.074 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/1.085, allocations: 2.234 MB / 1 GB, free: 3.809 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003856/1.089, allocations: 0.9624 MB / 1.001 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002576/1.092, allocations: 1.331 MB / 1.002 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of SimCode: time 2.084e-06/1.092, allocations: 0 / 1.002 GB, free: 1.516 MB / 0.7637 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:791:13-791:114:writable] Error: Internal error Failed to copy path /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/weatherdata/CustomWeatherFiles/example.txt to 378.fmutmp/resources//home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/weatherdata/CustomWeatherFiles Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/1.248, allocations: 61.84 MB / 1.063 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/18.98, allocations: 9.969 kB / 1.063 GB, free: 3.879 MB / 0.8262 GB " [Timeout remaining time 641] (rm -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.137105465997593] Failed to read output from testmodel.py, exit status != 0: 19.247894894004276 19.523113085 18.743486048 Calling exit ...