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.001383/0.001383, 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.001492/0.001492, allocations: 217.6 kB / 22.25 MB, free: 4.852 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.797 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.8686/0.8686, allocations: 134 MB / 446.4 MB, free: 9.934 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.002017/0.002017, allocations: 67.83 kB / 0.6187 GB, free: 6.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1791, allocations: 85.92 MB / 0.7026 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.00971/0.1888, allocations: 6.386 MB / 0.7088 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.7017/0.8905, allocations: 137.2 MB / 0.8428 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.8921, allocations: 43.69 kB / 0.8428 GB, free: 3.629 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.001303/0.8934, allocations: 293.1 kB / 0.8431 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.8965, allocations: 0.7543 MB / 0.8438 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.9001, allocations: 1.242 MB / 0.845 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0055/0.9056, allocations: 4.082 MB / 0.849 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003002/0.9086, allocations: 1.5 MB / 0.8505 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.9125, allocations: 1.808 MB / 0.8523 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003165/0.9157, allocations: 1.774 MB / 0.854 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.9169, allocations: 344 kB / 0.8543 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.9198, allocations: 0.9407 MB / 0.8552 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001525/0.9213, allocations: 0.8914 MB / 0.8561 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002717/0.924, allocations: 1.403 MB / 0.8575 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.007785/0.9318, allocations: 4.76 MB / 0.8621 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9318, allocations: 4 kB / 0.8621 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.532e-06/0.9318, allocations: 0 / 0.8621 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001853/0.932, allocations: 4 kB / 0.8621 GB, free: 15.74 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.009143/0.9411, allocations: 3.921 MB / 0.866 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.9412, allocations: 15.97 kB / 0.866 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005811/0.9418, allocations: 433.7 kB / 0.8664 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0153/0.9571, allocations: 1.995 MB / 0.8683 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/0.9626, allocations: 1.919 MB / 0.8702 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.9629, allocations: 230.1 kB / 0.8704 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007317/0.9636, allocations: 296 kB / 0.8707 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.9742, allocations: 4.468 MB / 0.8751 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.9743, allocations: 8 kB / 0.8751 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.9746, allocations: 123.9 kB / 0.8752 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.16e-05/0.9747, allocations: 76 kB / 0.8753 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.9867, allocations: 4.491 MB / 0.8797 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02363/1.01, allocations: 9.382 MB / 0.8888 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.021, allocations: 3.526 MB / 0.8923 GB, free: 428 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/1.025, allocations: 1.436 MB / 0.8937 GB, free: 14.97 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007968/1.026, allocations: 157.8 kB / 0.8938 GB, free: 14.81 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004656/1.031, allocations: 2.021 MB / 0.8958 GB, free: 12.75 MB / 0.67 GB Notification: Performance of pre-optimization done (n=223): time 4.728e-06/1.031, allocations: 0 / 0.8958 GB, free: 12.75 MB / 0.67 GB Notification: Performance of matching and sorting (n=223): time 0.01357/1.044, allocations: 4.785 MB / 0.9005 GB, free: 7.957 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/1.044, allocations: 257.3 kB / 0.9007 GB, free: 7.648 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/1.048, allocations: 1.887 MB / 0.9026 GB, free: 5.719 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004305/1.048, allocations: 69.7 kB / 0.9026 GB, free: 5.645 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.049, allocations: 1.282 MB / 0.9039 GB, free: 4.344 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/1.05, allocations: 0.7824 MB / 0.9046 GB, free: 3.555 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008991/1.051, allocations: 0.5035 MB / 0.9051 GB, free: 3.043 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.051, allocations: 301.1 kB / 0.9054 GB, free: 2.746 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/1.055, allocations: 1.413 MB / 0.9068 GB, free: 1.328 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004105/1.059, allocations: 1.899 MB / 0.9086 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007919/1.067, allocations: 3.131 MB / 0.9117 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/1.067, allocations: 4 kB / 0.9117 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01046/1.078, allocations: 3.658 MB / 0.9153 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.078, allocations: 4 kB / 0.9153 GB, free: 8.402 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.078, allocations: 9.594 kB / 0.9153 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/1.078, allocations: 100.8 kB / 0.9154 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/1.082, allocations: 0.6942 MB / 0.9161 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002379/1.084, allocations: 1.527 MB / 0.9176 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/1.088, allocations: 434 kB / 0.918 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005201/1.088, allocations: 124.7 kB / 0.9181 GB, free: 5.41 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.002241/1.09, allocations: 0.8016 MB / 0.9189 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000915/1.091, allocations: 242.5 kB / 0.9191 GB, free: 4.359 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.103, allocations: 4.048 MB / 0.9231 GB, free: 296 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.103, allocations: 24 kB / 0.9231 GB, free: 272 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.103, allocations: 0 / 0.9231 GB, free: 272 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/1.103, allocations: 15.95 kB / 0.9231 GB, free: 256 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.119, allocations: 6.924 MB / 0.9299 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/1.119, allocations: 11.94 kB / 0.9299 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003029/1.122, allocations: 0.5733 MB / 0.9304 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/1.123, allocations: 80.78 kB / 0.9305 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/1.123, allocations: 63.95 kB / 0.9306 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/1.125, allocations: 1.558 MB / 0.9321 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.125, allocations: 0 / 0.9321 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/1.134, allocations: 3.376 MB / 0.9354 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001953/1.136, allocations: 0.6205 MB / 0.936 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007046/1.137, allocations: 63.78 kB / 0.9361 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/1.139, allocations: 253.7 kB / 0.9363 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/1.139, allocations: 169.6 kB / 0.9365 GB, free: 2.254 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.14, allocations: 83.95 kB / 0.9365 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00277/1.142, allocations: 1.413 MB / 0.9379 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.01e-07/1.142, allocations: 0 / 0.9379 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002897/1.145, allocations: 0.8921 MB / 0.9388 GB, free: 15.84 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.01094/1.156, allocations: 4.556 MB / 0.9432 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008713/1.165, allocations: 3.202 MB / 0.9464 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.165, allocations: 0 / 0.9464 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004108/1.169, allocations: 1.579 MB / 0.9479 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.172, allocations: 464.5 kB / 0.9483 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0542/1.226, allocations: 22.87 MB / 0.9707 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/1.229, allocations: 1.683 MB / 0.9723 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003798/1.233, allocations: 0.9388 MB / 0.9732 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/1.235, allocations: 1.335 MB / 0.9746 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of SimCode: time 1.412e-06/1.235, allocations: 0 / 0.9746 GB, free: 10.98 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.1308/1.366, allocations: 61.52 MB / 1.035 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.5, allocations: 15.45 kB / 1.035 GB, free: 13.79 MB / 0.8106 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: 21.425651772879064] Failed to read output from testmodel.py, exit status != 0: 17.761914317961782 17.784993896 16.849734361 Calling exit ...