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.001257/0.001257, 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.001586/0.001586, allocations: 208.7 kB / 22.25 MB, free: 5.086 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 8.008 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.8867/0.8867, allocations: 134 MB / 446.4 MB, free: 10.24 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.002016/0.002016, allocations: 71.45 kB / 0.6187 GB, free: 7.137 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1718, allocations: 85.9 MB / 0.7026 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01066/0.1824, allocations: 7.252 MB / 0.7097 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5703/0.7528, allocations: 159.1 MB / 0.8651 GB, free: 276 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.7544, allocations: 43.69 kB / 0.8651 GB, free: 232 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.001304/0.7557, allocations: 290.5 kB / 0.8654 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.7585, allocations: 0.7527 MB / 0.8661 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003715/0.7622, allocations: 1.249 MB / 0.8673 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005565/0.7678, allocations: 4.098 MB / 0.8713 GB, free: 9.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.7709, allocations: 1.496 MB / 0.8728 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.7749, allocations: 1.772 MB / 0.8745 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/0.7778, allocations: 1.76 MB / 0.8763 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.7789, allocations: 344 kB / 0.8766 GB, free: 4.402 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.7815, allocations: 0.9953 MB / 0.8776 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.7829, allocations: 0.9032 MB / 0.8784 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003218/0.7862, allocations: 1.745 MB / 0.8801 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007236/0.7934, allocations: 4.757 MB / 0.8848 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7934, allocations: 0 / 0.8848 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7934, allocations: 0 / 0.8848 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001686/0.7936, allocations: 0 / 0.8848 GB, free: 11.97 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.009205/0.8028, allocations: 3.957 MB / 0.8887 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8028, allocations: 12.03 kB / 0.8887 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008363/0.8037, allocations: 429.7 kB / 0.8891 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.8189, allocations: 1.999 MB / 0.891 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004931/0.8239, allocations: 1.923 MB / 0.8929 GB, free: 3.551 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.8241, allocations: 234.1 kB / 0.8931 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009786/0.8251, allocations: 291.9 kB / 0.8934 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.8363, allocations: 4.208 MB / 0.8975 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.815e-05/0.8364, allocations: 8 kB / 0.8975 GB, free: 14.71 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007054/0.8371, allocations: 123.9 kB / 0.8976 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.887e-05/0.8372, allocations: 76 kB / 0.8977 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.8495, allocations: 4.588 MB / 0.9022 GB, free: 9.91 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02543/0.8749, allocations: 12.78 MB / 0.9147 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.8857, allocations: 3.622 MB / 0.9182 GB, free: 8.742 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003853/0.8896, allocations: 1.452 MB / 0.9196 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008931/0.8905, allocations: 189.7 kB / 0.9198 GB, free: 7.094 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004795/0.8953, allocations: 1.945 MB / 0.9217 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 5.861e-06/0.8953, allocations: 0 / 0.9217 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01477/0.91, allocations: 4.86 MB / 0.9265 GB, free: 268 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/0.9103, allocations: 257.3 kB / 0.9267 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.9141, allocations: 1.98 MB / 0.9286 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005109/0.9146, allocations: 69.69 kB / 0.9287 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.916, allocations: 1.286 MB / 0.93 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.9172, allocations: 0.7862 MB / 0.9307 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001492/0.9187, allocations: 0.5035 MB / 0.9312 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9188, allocations: 305.1 kB / 0.9315 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/0.9229, allocations: 1.425 MB / 0.9329 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004494/0.9274, allocations: 1.755 MB / 0.9346 GB, free: 7.656 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00847/0.9359, allocations: 3.166 MB / 0.9377 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.9359, allocations: 0 / 0.9377 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.012/0.9479, allocations: 3.697 MB / 0.9413 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.9479, allocations: 8 kB / 0.9413 GB, free: 0.7031 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.948, allocations: 4.469 kB / 0.9413 GB, free: 0.6992 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006952/0.9487, allocations: 97.77 kB / 0.9414 GB, free: 0.6016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003999/0.9527, allocations: 0.7097 MB / 0.9421 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.9552, allocations: 1.537 MB / 0.9436 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/0.9589, allocations: 446 kB / 0.944 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007048/0.9596, allocations: 124.7 kB / 0.9442 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.002968/0.9625, allocations: 0.7977 MB / 0.9449 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/0.9638, allocations: 242.5 kB / 0.9452 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/0.9761, allocations: 4.04 MB / 0.9491 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/0.9762, allocations: 24 kB / 0.9491 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.9762, allocations: 0 / 0.9491 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.073e-05/0.9762, allocations: 15.95 kB / 0.9491 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.9934, allocations: 7.194 MB / 0.9562 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.9934, allocations: 4 kB / 0.9562 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003183/0.9966, allocations: 0.5928 MB / 0.9568 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.9971, allocations: 80.78 kB / 0.9568 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003801/0.9975, allocations: 67.94 kB / 0.9569 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.9996, allocations: 1.562 MB / 0.9584 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9996, allocations: 4 kB / 0.9584 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009616/1.009, allocations: 3.347 MB / 0.9617 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002064/1.011, allocations: 0.6322 MB / 0.9623 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008329/1.012, allocations: 67.73 kB / 0.9624 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/1.015, allocations: 275.6 kB / 0.9626 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/1.015, allocations: 169.6 kB / 0.9628 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003483/1.016, allocations: 83.95 kB / 0.9629 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003277/1.019, allocations: 1.498 MB / 0.9643 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5e-08/1.019, allocations: 0 / 0.9643 GB, free: 8.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003078/1.022, allocations: 0.8999 MB / 0.9652 GB, free: 7.73 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.01207/1.034, allocations: 4.494 MB / 0.9696 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009245/1.043, allocations: 3.241 MB / 0.9728 GB, free: 172 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/1.044, allocations: 4 kB / 0.9728 GB, free: 168 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.048, allocations: 1.607 MB / 0.9743 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/1.051, allocations: 447.3 kB / 0.9748 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05809/1.109, allocations: 23.58 MB / 0.9978 GB, free: 6.145 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/1.112, allocations: 2.233 MB / 1 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003994/1.116, allocations: 0.9544 MB / 1.001 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/1.119, allocations: 1.339 MB / 1.002 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of SimCode: time 1.273e-06/1.119, allocations: 0 / 1.002 GB, free: 1.586 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.1358/1.255, allocations: 61.84 MB / 1.063 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.19, allocations: 3.938 kB / 1.063 GB, free: 3.961 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=50 --tolerance=1e-06 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.3779469281435] Failed to read output from testmodel.py, exit status != 0: 19.451365078799427 19.805771475 19.008834967 Calling exit ...