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.001309/0.001309, allocations: 104.4 kB / 16.45 MB, free: 6.453 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.001377/0.001377, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.8366/0.8366, allocations: 134 MB / 442.8 MB, free: 11.28 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.001926/0.001926, allocations: 63.56 kB / 0.6136 GB, free: 8.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 85.86 MB / 0.6974 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01003/0.1916, allocations: 7.193 MB / 0.7045 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5644/0.756, allocations: 158.9 MB / 0.8597 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/0.7575, allocations: 39.75 kB / 0.8597 GB, free: 2.109 MB / 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.0009679/0.7585, allocations: 289 kB / 0.86 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.7608, allocations: 0.7545 MB / 0.8607 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.7639, allocations: 1.216 MB / 0.8619 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004933/0.7688, allocations: 4.094 MB / 0.8659 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/0.7716, allocations: 1.878 MB / 0.8677 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.7748, allocations: 1.763 MB / 0.8695 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.7772, allocations: 1.762 MB / 0.8712 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006331/0.7778, allocations: 348 kB / 0.8715 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.7799, allocations: 0.9914 MB / 0.8725 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008433/0.7807, allocations: 0.9031 MB / 0.8734 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.7828, allocations: 1.733 MB / 0.8751 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.7888, allocations: 4.757 MB / 0.8797 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7888, allocations: 3.938 kB / 0.8797 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7888, allocations: 0 / 0.8797 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001021/0.7889, allocations: 0 / 0.8797 GB, free: 13.52 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.008994/0.7979, allocations: 4.028 MB / 0.8836 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.798, allocations: 13.11 kB / 0.8837 GB, free: 9.402 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006376/0.7986, allocations: 433.7 kB / 0.8841 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.8145, allocations: 1.999 MB / 0.886 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.8187, allocations: 1.972 MB / 0.8879 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.8189, allocations: 238 kB / 0.8882 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00061/0.8195, allocations: 288 kB / 0.8884 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009384/0.8289, allocations: 4.208 MB / 0.8926 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/0.8289, allocations: 4 kB / 0.8926 GB, free: 104 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.8293, allocations: 128 kB / 0.8927 GB, free: 15.97 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/0.8293, allocations: 76 kB / 0.8928 GB, free: 15.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01129/0.8406, allocations: 4.596 MB / 0.8972 GB, free: 11.29 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/0.8638, allocations: 12.84 MB / 0.9098 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.875, allocations: 3.618 MB / 0.9133 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004002/0.879, allocations: 1.448 MB / 0.9147 GB, free: 8.617 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/0.8803, allocations: 1.077 MB / 0.9158 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004756/0.885, allocations: 1.949 MB / 0.9177 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 3.617e-06/0.885, allocations: 0 / 0.9177 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01401/0.8991, allocations: 4.923 MB / 0.9225 GB, free: 412 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.8992, allocations: 253.3 kB / 0.9227 GB, free: 100 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003095/0.9023, allocations: 1.984 MB / 0.9247 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003604/0.9027, allocations: 69.7 kB / 0.9247 GB, free: 14 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.9039, allocations: 1.286 MB / 0.926 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008756/0.9048, allocations: 0.7824 MB / 0.9268 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009121/0.9057, allocations: 0.5035 MB / 0.9273 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9058, allocations: 301.1 kB / 0.9275 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003764/0.9096, allocations: 1.425 MB / 0.9289 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00417/0.9138, allocations: 1.763 MB / 0.9307 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008019/0.9218, allocations: 3.158 MB / 0.9337 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9218, allocations: 0 / 0.9337 GB, free: 4.566 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01026/0.9321, allocations: 3.702 MB / 0.9374 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.9321, allocations: 9.875 kB / 0.9374 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.9321, allocations: 4 kB / 0.9374 GB, free: 0.8398 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.9327, allocations: 96.98 kB / 0.9375 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.9366, allocations: 0.7058 MB / 0.9381 GB, free: 36 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.939, allocations: 1.649 MB / 0.9398 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003677/0.9427, allocations: 450 kB / 0.9402 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000429/0.9431, allocations: 123.8 kB / 0.9403 GB, free: 13.68 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.001737/0.9449, allocations: 0.8065 MB / 0.9411 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006984/0.9456, allocations: 242.5 kB / 0.9413 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/0.9562, allocations: 4.033 MB / 0.9453 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-05/0.9562, allocations: 24 kB / 0.9453 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9562, allocations: 0 / 0.9453 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-05/0.9563, allocations: 11.95 kB / 0.9453 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01777/0.974, allocations: 7.21 MB / 0.9523 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.974, allocations: 0 / 0.9523 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/0.9772, allocations: 0.6007 MB / 0.9529 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/0.9776, allocations: 80.72 kB / 0.953 GB, free: 484 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/0.9779, allocations: 71.94 kB / 0.9531 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.98, allocations: 1.662 MB / 0.9547 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.98, allocations: 4.062 kB / 0.9547 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008596/0.9886, allocations: 3.342 MB / 0.958 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.9901, allocations: 0.7016 MB / 0.9586 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/0.9906, allocations: 63.84 kB / 0.9587 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002492/0.9931, allocations: 275.6 kB / 0.959 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/0.9934, allocations: 149.8 kB / 0.9591 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.9936, allocations: 87.94 kB / 0.9592 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002298/0.9959, allocations: 1.495 MB / 0.9607 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.9959, allocations: 0 / 0.9607 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002482/0.9984, allocations: 0.9038 MB / 0.9615 GB, free: 7.516 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.01125/1.01, allocations: 4.5 MB / 0.9659 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009698/1.019, allocations: 3.241 MB / 0.9691 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.019, allocations: 0 / 0.9691 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004265/1.024, allocations: 1.603 MB / 0.9707 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.026, allocations: 460.3 kB / 0.9711 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05358/1.08, allocations: 23.53 MB / 0.9941 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/1.082, allocations: 2.241 MB / 0.9963 GB, free: 3.699 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003432/1.085, allocations: 0.9505 MB / 0.9972 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/1.088, allocations: 1.331 MB / 0.9985 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of SimCode: time 9.32e-07/1.088, allocations: 0 / 0.9985 GB, free: 1.418 MB / 0.7637 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:790:13-790: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 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.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.1311/1.219, allocations: 59.95 MB / 1.057 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/17.92, allocations: 14.19 kB / 1.057 GB, free: 5.723 MB / 0.8262 GB " [Timeout remaining time 642] (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: 22.049432593004894] Failed to read output from testmodel.py, exit status != 0: 18.168268313005683 18.449512783 17.657792127 Calling exit ...