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.001342/0.001342, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001533/0.001533, allocations: 221.3 kB / 23.04 MB, free: 5.074 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8474/0.8474, allocations: 134 MB / 447.2 MB, free: 10.25 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.001969/0.001969, allocations: 57.94 kB / 0.6195 GB, free: 7.031 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1826, allocations: 85.93 MB / 0.7034 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01167/0.1943, allocations: 7.239 MB / 0.7105 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6586/0.8529, allocations: 159.1 MB / 0.8658 GB, free: 176 kB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.8546, allocations: 43.69 kB / 0.8659 GB, free: 132 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.00138/0.856, allocations: 289.1 kB / 0.8662 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.8598, allocations: 0.7451 MB / 0.8669 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004785/0.8645, allocations: 1.246 MB / 0.8681 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007852/0.8724, allocations: 4.09 MB / 0.8721 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/0.8761, allocations: 1.504 MB / 0.8736 GB, free: 8.176 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004417/0.8805, allocations: 1.776 MB / 0.8753 GB, free: 6.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003563/0.8841, allocations: 1.766 MB / 0.877 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001436/0.8855, allocations: 348 kB / 0.8774 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00371/0.8892, allocations: 0.9875 MB / 0.8783 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.8914, allocations: 0.8992 MB / 0.8792 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005878/0.8973, allocations: 1.741 MB / 0.8809 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.9093, allocations: 4.756 MB / 0.8855 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.9093, allocations: 7.984 kB / 0.8856 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9093, allocations: 0 / 0.8856 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002441/0.9095, allocations: 0 / 0.8856 GB, free: 11.88 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.01354/0.9231, allocations: 3.953 MB / 0.8894 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.9231, allocations: 12.03 kB / 0.8894 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000133/0.9232, allocations: 86 kB / 0.8895 GB, free: 7.773 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001338/0.9246, allocations: 433.7 kB / 0.8899 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.9413, allocations: 1.991 MB / 0.8919 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005705/0.947, allocations: 1.931 MB / 0.8938 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002806/0.9472, allocations: 234 kB / 0.894 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.9483, allocations: 292 kB / 0.8943 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.9608, allocations: 4.2 MB / 0.8984 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-05/0.9609, allocations: 11.88 kB / 0.8984 GB, free: 14.53 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007387/0.9616, allocations: 128 kB / 0.8985 GB, free: 14.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.978e-05/0.9617, allocations: 72 kB / 0.8986 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.9758, allocations: 4.596 MB / 0.903 GB, free: 9.727 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03005/1.006, allocations: 12.77 MB / 0.9155 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/1.018, allocations: 3.628 MB / 0.9191 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004336/1.023, allocations: 1.45 MB / 0.9205 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009132/1.024, allocations: 193.9 kB / 0.9207 GB, free: 6.91 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005299/1.029, allocations: 1.94 MB / 0.9226 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=223): time 6.642e-06/1.029, allocations: 0 / 0.9226 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of matching and sorting (n=223): time 0.01606/1.045, allocations: 4.851 MB / 0.9273 GB, free: 92 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000265/1.045, allocations: 257.3 kB / 0.9275 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/1.05, allocations: 1.984 MB / 0.9295 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009124/1.051, allocations: 61.7 kB / 0.9295 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/1.053, allocations: 1.282 MB / 0.9308 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.055, allocations: 0.7862 MB / 0.9316 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002776/1.058, allocations: 0.5152 MB / 0.9321 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.058, allocations: 305.1 kB / 0.9324 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00567/1.064, allocations: 1.425 MB / 0.9337 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/1.07, allocations: 1.751 MB / 0.9355 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.081, allocations: 3.162 MB / 0.9385 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/1.081, allocations: 0 / 0.9385 GB, free: 4.25 MB / 0.7012 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01557/1.096, allocations: 3.705 MB / 0.9422 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/1.096, allocations: 12.06 kB / 0.9422 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.096, allocations: 8 kB / 0.9422 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/1.097, allocations: 84.72 kB / 0.9423 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/1.102, allocations: 0.7097 MB / 0.943 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/1.105, allocations: 1.543 MB / 0.9445 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004576/1.11, allocations: 444.3 kB / 0.9449 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008542/1.111, allocations: 127.8 kB / 0.945 GB, free: 13.5 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.003173/1.114, allocations: 0.7988 MB / 0.9458 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001434/1.115, allocations: 242.5 kB / 0.946 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.13, allocations: 4.029 MB / 0.95 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.13, allocations: 24 kB / 0.95 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.13, allocations: 4 kB / 0.95 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.661e-05/1.13, allocations: 11.95 kB / 0.95 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01958/1.15, allocations: 7.19 MB / 0.957 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/1.15, allocations: 3.984 kB / 0.957 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003431/1.153, allocations: 0.6006 MB / 0.9576 GB, free: 408 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/1.154, allocations: 72.8 kB / 0.9577 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004547/1.154, allocations: 67.94 kB / 0.9577 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/1.156, allocations: 1.578 MB / 0.9593 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.156, allocations: 0 / 0.9593 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.167, allocations: 3.346 MB / 0.9625 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002411/1.169, allocations: 0.6322 MB / 0.9632 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009599/1.17, allocations: 71.73 kB / 0.9632 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.173, allocations: 275.6 kB / 0.9635 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004401/1.174, allocations: 157.7 kB / 0.9636 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/1.174, allocations: 95.88 kB / 0.9637 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003224/1.177, allocations: 1.495 MB / 0.9652 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.177, allocations: 0 / 0.9652 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003076/1.18, allocations: 0.8921 MB / 0.9661 GB, free: 7.559 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.01178/1.192, allocations: 4.499 MB / 0.9705 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.202, allocations: 3.242 MB / 0.9736 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/1.202, allocations: 3.938 kB / 0.9736 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004664/1.207, allocations: 1.603 MB / 0.9752 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/1.21, allocations: 464.1 kB / 0.9756 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06134/1.271, allocations: 23.55 MB / 0.9986 GB, free: 5.973 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002929/1.274, allocations: 2.234 MB / 1.001 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004226/1.279, allocations: 0.9582 MB / 1.002 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003344/1.282, allocations: 1.335 MB / 1.003 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of SimCode: time 1.563e-06/1.282, allocations: 3.938 kB / 1.003 GB, free: 1.41 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.1292/1.411, allocations: 61.88 MB / 1.063 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.42/19.83, allocations: 3.938 kB / 1.064 GB, free: 3.746 MB / 0.8262 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: 24.08275765099097] Failed to read output from testmodel.py, exit status != 0: 20.15015315299388 20.458647425 19.546194642 Calling exit ...