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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8239/0.8239, allocations: 134 MB / 436.6 MB, free: 1.719 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 68.86 kB / 0.6053 GB, free: 15.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.164, allocations: 84.68 MB / 0.688 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.009582/0.1735, allocations: 7.146 MB / 0.695 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5652/0.7387, allocations: 156 MB / 0.8473 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.74, allocations: 30.31 kB / 0.8473 GB, free: 7.137 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.0009143/0.7409, allocations: 287 kB / 0.8476 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.7431, allocations: 0.7197 MB / 0.8483 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.7459, allocations: 1.216 MB / 0.8495 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004109/0.7501, allocations: 4.062 MB / 0.8535 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.7524, allocations: 1.881 MB / 0.8553 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.7554, allocations: 1.675 MB / 0.8569 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002014/0.7574, allocations: 1.752 MB / 0.8587 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004543/0.7578, allocations: 346.6 kB / 0.859 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.7597, allocations: 0.9417 MB / 0.8599 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008387/0.7605, allocations: 0.8954 MB / 0.8608 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.7625, allocations: 1.725 MB / 0.8625 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005583/0.768, allocations: 4.694 MB / 0.867 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.768, allocations: 0 / 0.867 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.263e-06/0.768, allocations: 0 / 0.867 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.489e-05/0.7681, allocations: 0 / 0.867 GB, free: 7.418 MB / 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.007754/0.7759, allocations: 4.016 MB / 0.871 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.7759, allocations: 8.031 kB / 0.871 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005066/0.7764, allocations: 429.7 kB / 0.8714 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008778/0.7852, allocations: 1.312 MB / 0.8727 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.7891, allocations: 1.963 MB / 0.8746 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.7893, allocations: 226.1 kB / 0.8748 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.7897, allocations: 296 kB / 0.8751 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008172/0.7979, allocations: 4.212 MB / 0.8792 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.798, allocations: 7.875 kB / 0.8792 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002886/0.7983, allocations: 127.9 kB / 0.8793 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.932e-05/0.7983, allocations: 76 kB / 0.8794 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009964/0.8083, allocations: 4.592 MB / 0.8839 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02157/0.8299, allocations: 12.8 MB / 0.8964 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009592/0.8395, allocations: 3.617 MB / 0.8999 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003381/0.8428, allocations: 1.453 MB / 0.9013 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/0.8442, allocations: 1.085 MB / 0.9024 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004096/0.8483, allocations: 1.936 MB / 0.9043 GB, free: 8 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=223): time 4.688e-06/0.8483, allocations: 0 / 0.9043 GB, free: 8 kB / 0.6544 GB Notification: Performance of matching and sorting (n=223): time 0.01288/0.8611, allocations: 4.922 MB / 0.9091 GB, free: 11.06 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.8613, allocations: 265.2 kB / 0.9094 GB, free: 10.74 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.8644, allocations: 1.943 MB / 0.9112 GB, free: 8.754 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000314/0.8647, allocations: 65.7 kB / 0.9113 GB, free: 8.684 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.8659, allocations: 1.274 MB / 0.9126 GB, free: 7.391 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008245/0.8667, allocations: 0.7823 MB / 0.9133 GB, free: 6.602 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008331/0.8675, allocations: 0.5113 MB / 0.9138 GB, free: 6.082 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8677, allocations: 305.1 kB / 0.9141 GB, free: 5.781 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/0.8711, allocations: 1.425 MB / 0.9155 GB, free: 4.352 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.875, allocations: 1.751 MB / 0.9172 GB, free: 2.496 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007336/0.8824, allocations: 3.175 MB / 0.9203 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.8824, allocations: 0 / 0.9203 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.009222/0.8916, allocations: 3.702 MB / 0.9239 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.8916, allocations: 12.06 kB / 0.9239 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.8916, allocations: 4 kB / 0.9239 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.8922, allocations: 96.77 kB / 0.924 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003465/0.8957, allocations: 0.698 MB / 0.9247 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.898, allocations: 1.646 MB / 0.9263 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/0.9012, allocations: 438 kB / 0.9267 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.9015, allocations: 127.9 kB / 0.9269 GB, free: 8.379 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.001677/0.9032, allocations: 0.8015 MB / 0.9276 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/0.9038, allocations: 246.5 kB / 0.9279 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009797/0.9136, allocations: 4.028 MB / 0.9318 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.9136, allocations: 27.94 kB / 0.9318 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9136, allocations: 4 kB / 0.9318 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/0.9136, allocations: 11.95 kB / 0.9319 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.9284, allocations: 7.19 MB / 0.9389 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.9284, allocations: 0 / 0.9389 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00289/0.9313, allocations: 0.6007 MB / 0.9395 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.9318, allocations: 76.8 kB / 0.9395 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.932, allocations: 67.94 kB / 0.9396 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.934, allocations: 1.662 MB / 0.9412 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.934, allocations: 64 / 0.9412 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007805/0.9418, allocations: 3.342 MB / 0.9445 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/0.9435, allocations: 0.69 MB / 0.9452 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/0.9439, allocations: 67.73 kB / 0.9452 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.9464, allocations: 271.6 kB / 0.9455 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.9467, allocations: 165.7 kB / 0.9456 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.9469, allocations: 79.95 kB / 0.9457 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002236/0.9491, allocations: 1.474 MB / 0.9472 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.9491, allocations: 0 / 0.9472 GB, free: 3.172 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002344/0.9514, allocations: 0.8843 MB / 0.948 GB, free: 2.285 MB / 0.7012 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.009836/0.9613, allocations: 4.495 MB / 0.9524 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007861/0.9691, allocations: 3.237 MB / 0.9556 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.9691, allocations: 0 / 0.9556 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003655/0.9728, allocations: 1.603 MB / 0.9571 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.975, allocations: 456.2 kB / 0.9576 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04951/1.025, allocations: 23.44 MB / 0.9805 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/1.027, allocations: 2.23 MB / 0.9826 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003078/1.03, allocations: 0.9572 MB / 0.9836 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.032, allocations: 1.323 MB / 0.9849 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/1.032, allocations: 0 / 0.9849 GB, free: 12.31 MB / 0.7481 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:790:13-790: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 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.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.1216/1.153, allocations: 59.45 MB / 1.043 GB, free: 1.105 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.54, allocations: 10.53 kB / 1.043 GB, free: 1.098 MB / 0.795 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 & /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: 21.26071542315185] Failed to read output from testmodel.py, exit status != 0: 17.76737094623968 17.793815296 17.020940106 Calling exit ...