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.001276/0.001276, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001783/0.001783, allocations: 214 kB / 22.25 MB, free: 4.855 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.805 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.8397/0.8397, allocations: 134 MB / 446.4 MB, free: 9.973 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.002012/0.002012, allocations: 75.25 kB / 0.6187 GB, free: 6.742 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1861, allocations: 85.92 MB / 0.7026 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009318/0.1954, allocations: 6.383 MB / 0.7088 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5803/0.7757, allocations: 137.2 MB / 0.8428 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.7772, allocations: 43.69 kB / 0.8428 GB, free: 3.699 MB / 0.6075 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.0009933/0.7782, allocations: 293.1 kB / 0.8431 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.7813, allocations: 0.7472 MB / 0.8438 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.7848, allocations: 1.241 MB / 0.845 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005943/0.7908, allocations: 4.094 MB / 0.849 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.7935, allocations: 1.496 MB / 0.8505 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.7975, allocations: 1.805 MB / 0.8523 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.8003, allocations: 1.766 MB / 0.854 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000684/0.801, allocations: 348 kB / 0.8543 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002098/0.8031, allocations: 0.9446 MB / 0.8552 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008123/0.8039, allocations: 0.8876 MB / 0.8561 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.8056, allocations: 1.395 MB / 0.8575 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006633/0.8123, allocations: 4.768 MB / 0.8621 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.8123, allocations: 0 / 0.8621 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.055e-06/0.8123, allocations: 0 / 0.8621 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001525/0.8124, allocations: 4 kB / 0.8621 GB, free: 15.82 MB / 0.6387 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.009051/0.8215, allocations: 3.925 MB / 0.866 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.8215, allocations: 15.97 kB / 0.866 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006552/0.8222, allocations: 433.7 kB / 0.8664 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/0.8373, allocations: 1.995 MB / 0.8683 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004945/0.8422, allocations: 1.919 MB / 0.8702 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.8424, allocations: 230.1 kB / 0.8704 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000733/0.8432, allocations: 292 kB / 0.8707 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009829/0.853, allocations: 4.465 MB / 0.8751 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.404e-05/0.8531, allocations: 11.92 kB / 0.8751 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003281/0.8534, allocations: 123.9 kB / 0.8752 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.756e-05/0.8535, allocations: 76 kB / 0.8753 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.8644, allocations: 4.495 MB / 0.8797 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02215/0.8865, allocations: 9.377 MB / 0.8888 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/0.897, allocations: 3.526 MB / 0.8923 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/0.9009, allocations: 1.443 MB / 0.8937 GB, free: 15.05 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008793/0.9017, allocations: 170 kB / 0.8938 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004953/0.9067, allocations: 2.017 MB / 0.8958 GB, free: 12.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=223): time 6.562e-06/0.9067, allocations: 3.938 kB / 0.8958 GB, free: 12.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=223): time 0.01429/0.921, allocations: 4.773 MB / 0.9005 GB, free: 8.035 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.9212, allocations: 261.3 kB / 0.9007 GB, free: 7.723 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/0.925, allocations: 1.887 MB / 0.9026 GB, free: 5.793 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.9253, allocations: 69.7 kB / 0.9026 GB, free: 5.719 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.9266, allocations: 1.282 MB / 0.9039 GB, free: 4.418 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009904/0.9276, allocations: 0.7863 MB / 0.9046 GB, free: 3.625 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.9289, allocations: 0.5074 MB / 0.9051 GB, free: 3.109 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.929, allocations: 301.1 kB / 0.9054 GB, free: 2.812 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/0.9328, allocations: 1.405 MB / 0.9068 GB, free: 1.402 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/0.9371, allocations: 1.907 MB / 0.9087 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007905/0.945, allocations: 3.121 MB / 0.9117 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.945, allocations: 8 kB / 0.9117 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01019/0.9552, allocations: 3.666 MB / 0.9153 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.9552, allocations: 4 kB / 0.9153 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.9552, allocations: 11.94 kB / 0.9153 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.9559, allocations: 93.19 kB / 0.9154 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/0.9595, allocations: 0.6902 MB / 0.9161 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.9619, allocations: 1.528 MB / 0.9176 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/0.9654, allocations: 430 kB / 0.918 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005601/0.966, allocations: 127.8 kB / 0.9181 GB, free: 5.477 MB / 0.6856 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.002485/0.9685, allocations: 0.7958 MB / 0.9189 GB, free: 4.672 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.9695, allocations: 246.4 kB / 0.9191 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.9817, allocations: 4.045 MB / 0.9231 GB, free: 372 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/0.9818, allocations: 27.98 kB / 0.9231 GB, free: 344 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.9818, allocations: 4 kB / 0.9231 GB, free: 340 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/0.9818, allocations: 19.94 kB / 0.9231 GB, free: 320 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.002, allocations: 6.909 MB / 0.9299 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.002, allocations: 4 kB / 0.9299 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00491/1.007, allocations: 0.5811 MB / 0.9304 GB, free: 8.652 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006508/1.007, allocations: 76.8 kB / 0.9305 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005349/1.008, allocations: 67.94 kB / 0.9306 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/1.011, allocations: 1.559 MB / 0.9321 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.011, allocations: 3.938 kB / 0.9321 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/1.023, allocations: 3.376 MB / 0.9354 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.025, allocations: 0.6205 MB / 0.936 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009232/1.026, allocations: 67.77 kB / 0.9361 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003656/1.03, allocations: 257.6 kB / 0.9363 GB, free: 2.488 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005518/1.031, allocations: 165.6 kB / 0.9365 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004073/1.031, allocations: 87.94 kB / 0.9365 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.004162/1.035, allocations: 1.413 MB / 0.9379 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.035, allocations: 0 / 0.9379 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004432/1.04, allocations: 0.8884 MB / 0.9388 GB, free: 15.91 MB / 0.7169 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.01667/1.056, allocations: 4.557 MB / 0.9432 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.069, allocations: 3.19 MB / 0.9464 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.069, allocations: 4.359 kB / 0.9464 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006427/1.076, allocations: 1.591 MB / 0.9479 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.08, allocations: 454.8 kB / 0.9484 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07732/1.157, allocations: 22.87 MB / 0.9707 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002878/1.16, allocations: 1.683 MB / 0.9723 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.004313/1.165, allocations: 0.9543 MB / 0.9733 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003066/1.168, allocations: 1.327 MB / 0.9746 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of SimCode: time 1.834e-06/1.168, allocations: 4 kB / 0.9746 GB, free: 11.05 MB / 0.7481 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:793:13-793: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.1417/1.309, allocations: 61.51 MB / 1.035 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/17.06, allocations: 10.34 kB / 1.035 GB, free: 13.86 MB / 0.8106 GB " [Timeout remaining time 643] (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: 20.838189880363643] Failed to read output from testmodel.py, exit status != 0: 17.335260830819607 17.351321878 16.535827 Calling exit ...