Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,fileNamePrefix="IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006234/0.006234, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.879/0.879, allocations: 135.1 MB / 425.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 62.78 kB / 0.5853 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1427, allocations: 80.92 MB / 0.6643 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.008576/0.1514, allocations: 7.124 MB / 0.6713 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5214/0.6728, allocations: 155.5 MB / 0.8232 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.6741, allocations: 35.53 kB / 0.8232 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.6752, allocations: 287.6 kB / 0.8235 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.6776, allocations: 0.7203 MB / 0.8242 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.6803, allocations: 1.215 MB / 0.8254 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.684, allocations: 4.067 MB / 0.8293 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002704/0.6867, allocations: 2.653 MB / 0.8319 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.6893, allocations: 1.665 MB / 0.8336 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.6911, allocations: 1.733 MB / 0.8353 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.6916, allocations: 343.4 kB / 0.8356 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.6932, allocations: 0.9481 MB / 0.8365 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006989/0.6939, allocations: 0.8861 MB / 0.8374 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001681/0.6956, allocations: 1.709 MB / 0.839 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.7002, allocations: 4.645 MB / 0.8436 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.7003, allocations: 4 kB / 0.8436 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7003, allocations: 0 / 0.8436 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.686e-05/0.7004, allocations: 3.984 kB / 0.8436 GB, free: 6.832 MB / 0.6075 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.007576/0.7079, allocations: 3.877 MB / 0.8474 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.708, allocations: 9.109 kB / 0.8474 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005118/0.7085, allocations: 429.7 kB / 0.8478 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008673/0.7172, allocations: 1.291 MB / 0.849 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004286/0.7215, allocations: 1.918 MB / 0.8509 GB, free: 412 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.7218, allocations: 230.1 kB / 0.8511 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005629/0.7224, allocations: 296 kB / 0.8514 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008123/0.7305, allocations: 4.208 MB / 0.8555 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/0.7306, allocations: 7.938 kB / 0.8555 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000294/0.7309, allocations: 131.9 kB / 0.8557 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.731, allocations: 72 kB / 0.8557 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009523/0.7405, allocations: 4.561 MB / 0.8602 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/0.7591, allocations: 12.76 MB / 0.8726 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009176/0.7683, allocations: 3.783 MB / 0.8763 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/0.7716, allocations: 1.553 MB / 0.8779 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.7727, allocations: 1.077 MB / 0.8789 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003807/0.7765, allocations: 1.94 MB / 0.8808 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=223): time 5.701e-06/0.7766, allocations: 0 / 0.8808 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of matching and sorting (n=223): time 0.01202/0.7886, allocations: 4.913 MB / 0.8856 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.7888, allocations: 257.3 kB / 0.8858 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/0.7921, allocations: 1.898 MB / 0.8877 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.7923, allocations: 65.7 kB / 0.8878 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009843/0.7933, allocations: 1.231 MB / 0.889 GB, free: 8.141 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006428/0.794, allocations: 0.7509 MB / 0.8897 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008256/0.7948, allocations: 0.5072 MB / 0.8902 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.7949, allocations: 305.1 kB / 0.8905 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/0.7981, allocations: 1.425 MB / 0.8919 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003495/0.8017, allocations: 1.755 MB / 0.8936 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006736/0.8084, allocations: 3.166 MB / 0.8967 GB, free: 32 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.8084, allocations: 0 / 0.8967 GB, free: 32 kB / 0.6544 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.008685/0.8171, allocations: 3.689 MB / 0.9003 GB, free: 12.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.8172, allocations: 8 kB / 0.9003 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.8172, allocations: 4 kB / 0.9003 GB, free: 12.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.8178, allocations: 100.9 kB / 0.9004 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/0.8211, allocations: 0.698 MB / 0.9011 GB, free: 11.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.8233, allocations: 1.646 MB / 0.9027 GB, free: 9.727 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.8264, allocations: 441.3 kB / 0.9031 GB, free: 9.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/0.8267, allocations: 127.9 kB / 0.9032 GB, free: 9.168 MB / 0.67 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.001715/0.8285, allocations: 0.7911 MB / 0.904 GB, free: 8.367 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007571/0.8292, allocations: 229.2 kB / 0.9042 GB, free: 8.141 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009825/0.839, allocations: 4.027 MB / 0.9081 GB, free: 4.094 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.8391, allocations: 24 kB / 0.9082 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8391, allocations: 0 / 0.9082 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/0.8391, allocations: 19.95 kB / 0.9082 GB, free: 4.051 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.853, allocations: 7.161 MB / 0.9152 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.853, allocations: 8 kB / 0.9152 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/0.856, allocations: 0.5928 MB / 0.9158 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004758/0.8565, allocations: 76.78 kB / 0.9158 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003318/0.8569, allocations: 75.94 kB / 0.9159 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/0.8589, allocations: 1.662 MB / 0.9175 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.8589, allocations: 0 / 0.9175 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008173/0.8671, allocations: 3.326 MB / 0.9208 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/0.8687, allocations: 0.6731 MB / 0.9214 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006443/0.8694, allocations: 67.62 kB / 0.9215 GB, free: 6.039 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.872, allocations: 282.4 kB / 0.9218 GB, free: 5.766 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.8724, allocations: 149.8 kB / 0.9219 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002413/0.8726, allocations: 87.94 kB / 0.922 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002723/0.8753, allocations: 1.442 MB / 0.9234 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3e-07/0.8753, allocations: 4 kB / 0.9234 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003382/0.8787, allocations: 0.88 MB / 0.9243 GB, free: 3.184 MB / 0.6856 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.009774/0.8885, allocations: 4.46 MB / 0.9286 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007885/0.8964, allocations: 3.35 MB / 0.9319 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8965, allocations: 0 / 0.9319 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.003642/0.9001, allocations: 1.724 MB / 0.9336 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/0.9026, allocations: 457.4 kB / 0.934 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05008/0.9527, allocations: 23.13 MB / 0.9566 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.9551, allocations: 2.209 MB / 0.9588 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00327/0.9584, allocations: 0.9462 MB / 0.9597 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/0.9608, allocations: 1.307 MB / 0.961 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.9608, allocations: 0 / 0.961 GB, free: 13.33 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:787:13-787:114:writable] Error: Internal error Failed to copy path /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/CustomWeatherFiles/example.txt to IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmutmp/resources//home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/weatherdata/CustomWeatherFiles Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.072, allocations: 58.66 MB / 1.018 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.99, allocations: 6.484 kB / 1.018 GB, free: 2.957 MB / 0.7794 GB (rm -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; mkfifo IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe >> ../files/IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)