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.00174/0.00174, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002069/0.002069, allocations: 216.8 kB / 23.03 MB, free: 4.949 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.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.8961/0.8961, allocations: 134 MB / 447.2 MB, free: 9.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",fmuType="cs",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.002783/0.002783, allocations: 67.36 kB / 0.6194 GB, free: 6.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.215, allocations: 85.91 MB / 0.7033 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009807/0.2248, allocations: 6.387 MB / 0.7096 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5535/0.7783, allocations: 137.1 MB / 0.8434 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.7795, allocations: 43.69 kB / 0.8435 GB, free: 3.93 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.0008686/0.7804, allocations: 297.1 kB / 0.8438 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.7826, allocations: 0.753 MB / 0.8445 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.7857, allocations: 1.224 MB / 0.8457 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.7906, allocations: 4.082 MB / 0.8497 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.7929, allocations: 1.516 MB / 0.8512 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003529/0.7965, allocations: 1.766 MB / 0.8529 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.7989, allocations: 1.75 MB / 0.8546 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005914/0.7995, allocations: 348 kB / 0.8549 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.8016, allocations: 0.9758 MB / 0.8559 GB, free: 7.152 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009169/0.8025, allocations: 0.9032 MB / 0.8568 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001853/0.8044, allocations: 1.411 MB / 0.8581 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006238/0.8106, allocations: 4.788 MB / 0.8628 GB, free: 28 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8106, allocations: 0 / 0.8628 GB, free: 28 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.522e-06/0.8106, allocations: 0 / 0.8628 GB, free: 28 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.434e-05/0.8107, allocations: 0 / 0.8628 GB, free: 28 kB / 0.6231 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.008945/0.8196, allocations: 3.957 MB / 0.8667 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.8197, allocations: 12.03 kB / 0.8667 GB, free: 12 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001013/0.8198, allocations: 82 kB / 0.8668 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005843/0.8204, allocations: 433.7 kB / 0.8672 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.8368, allocations: 1.995 MB / 0.8691 GB, free: 9.484 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.8412, allocations: 1.931 MB / 0.871 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.8414, allocations: 230.1 kB / 0.8712 GB, free: 7.285 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005894/0.842, allocations: 296 kB / 0.8715 GB, free: 6.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.8522, allocations: 4.48 MB / 0.8759 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.019e-05/0.8523, allocations: 11.88 kB / 0.8759 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/0.8526, allocations: 124 kB / 0.876 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-05/0.8527, allocations: 79.98 kB / 0.8761 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01158/0.8643, allocations: 4.592 MB / 0.8806 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.887, allocations: 9.51 MB / 0.8899 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.8978, allocations: 3.612 MB / 0.8934 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003914/0.9017, allocations: 1.459 MB / 0.8948 GB, free: 14.77 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008578/0.9025, allocations: 165.8 kB / 0.895 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004764/0.9073, allocations: 2.029 MB / 0.897 GB, free: 12.53 MB / 0.67 GB Notification: Performance of pre-optimization done (n=223): time 4.639e-06/0.9073, allocations: 0 / 0.897 GB, free: 12.53 MB / 0.67 GB Notification: Performance of matching and sorting (n=223): time 0.01385/0.9212, allocations: 4.86 MB / 0.9017 GB, free: 7.664 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.9213, allocations: 257.3 kB / 0.9019 GB, free: 7.355 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/0.9246, allocations: 1.988 MB / 0.9039 GB, free: 5.324 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003818/0.925, allocations: 61.7 kB / 0.9039 GB, free: 5.258 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.9263, allocations: 1.282 MB / 0.9052 GB, free: 3.957 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.9273, allocations: 0.7862 MB / 0.906 GB, free: 3.164 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009633/0.9282, allocations: 0.5074 MB / 0.9065 GB, free: 2.648 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9284, allocations: 313.1 kB / 0.9068 GB, free: 2.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003837/0.9322, allocations: 1.426 MB / 0.9082 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/0.9367, allocations: 1.927 MB / 0.91 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008011/0.9447, allocations: 3.158 MB / 0.9131 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.9448, allocations: 4 kB / 0.9131 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01015/0.9549, allocations: 3.702 MB / 0.9167 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.9549, allocations: 8 kB / 0.9167 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.955, allocations: 4 kB / 0.9167 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.9556, allocations: 92.75 kB / 0.9168 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004169/0.9598, allocations: 0.7097 MB / 0.9175 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/0.9623, allocations: 1.54 MB / 0.919 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003784/0.9661, allocations: 438.1 kB / 0.9195 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004451/0.9665, allocations: 131.9 kB / 0.9196 GB, free: 4.859 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.001974/0.9685, allocations: 0.7938 MB / 0.9204 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008019/0.9693, allocations: 250.4 kB / 0.9206 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/0.98, allocations: 4.036 MB / 0.9245 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/0.9801, allocations: 24 kB / 0.9246 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9801, allocations: 0 / 0.9246 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.9801, allocations: 15.95 kB / 0.9246 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.9952, allocations: 6.808 MB / 0.9312 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.9952, allocations: 0 / 0.9312 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/0.9983, allocations: 0.6007 MB / 0.9318 GB, free: 8.137 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005047/0.9988, allocations: 72.78 kB / 0.9319 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.9991, allocations: 71.94 kB / 0.9319 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/1.001, allocations: 1.57 MB / 0.9335 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.001, allocations: 0 / 0.9335 GB, free: 6.305 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/1.01, allocations: 3.343 MB / 0.9367 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.012, allocations: 0.64 MB / 0.9374 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005906/1.012, allocations: 67.73 kB / 0.9374 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/1.015, allocations: 277.6 kB / 0.9377 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00035/1.015, allocations: 161.7 kB / 0.9378 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/1.015, allocations: 91.88 kB / 0.9379 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002468/1.018, allocations: 1.498 MB / 0.9394 GB, free: 196 kB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/1.018, allocations: 0 / 0.9394 GB, free: 196 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00255/1.02, allocations: 0.8921 MB / 0.9403 GB, free: 15.3 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.01074/1.031, allocations: 4.529 MB / 0.9447 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.008752/1.04, allocations: 3.241 MB / 0.9479 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.04, allocations: 3.938 kB / 0.9479 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/1.044, allocations: 1.611 MB / 0.9494 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.046, allocations: 451.7 kB / 0.9499 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05204/1.098, allocations: 23.55 MB / 0.9729 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/1.1, allocations: 1.687 MB / 0.9745 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003429/1.104, allocations: 0.9544 MB / 0.9754 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002429/1.106, allocations: 1.331 MB / 0.9767 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of SimCode: time 1.202e-06/1.106, allocations: 3.938 kB / 0.9767 GB, free: 9.684 MB / 0.7481 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.1356/1.242, allocations: 63.13 MB / 1.038 GB, free: 11 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.52/19.77, allocations: 17.81 kB / 1.038 GB, free: 10.98 MB / 0.8106 GB " [Timeout remaining time 640] (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.862798248999752] Failed to read output from testmodel.py, exit status != 0: 20.084677717997693 20.110117248 19.294368209 Calling exit ...