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) 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/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01082/0.01082, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.002366/0.002366, allocations: 197 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.557/2.557, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.257/1.257, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 57.88 kB / 0.5811 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3029, allocations: 80.21 MB / 0.6594 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.01586/0.3189, allocations: 7.112 MB / 0.6663 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 1.129/1.448, allocations: 155.5 MB / 0.8182 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003234/1.451, allocations: 32.78 kB / 0.8182 GB, free: 2.977 MB / 0.6387 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.00229/1.453, allocations: 281.2 kB / 0.8185 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/1.459, allocations: 0.7076 MB / 0.8192 GB, free: 2.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006756/1.466, allocations: 1.221 MB / 0.8204 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01136/1.477, allocations: 4.063 MB / 0.8243 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005849/1.483, allocations: 2.462 MB / 0.8268 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005741/1.489, allocations: 1.683 MB / 0.8284 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005289/1.494, allocations: 1.75 MB / 0.8301 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002723/1.497, allocations: 347.5 kB / 0.8304 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005139/1.502, allocations: 0.9428 MB / 0.8314 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002517/1.505, allocations: 0.8965 MB / 0.8322 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005534/1.511, allocations: 1.721 MB / 0.8339 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009371/1.52, allocations: 4.678 MB / 0.8385 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/1.52, allocations: 3.156 kB / 0.8385 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.296e-06/1.52, allocations: 0 / 0.8385 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002083/1.52, allocations: 0 / 0.8385 GB, free: 1.074 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.01448/1.535, allocations: 3.904 MB / 0.8423 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.535, allocations: 8.438 kB / 0.8423 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002252/1.537, allocations: 428.8 kB / 0.8427 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01625/1.553, allocations: 1.298 MB / 0.844 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008349/1.562, allocations: 1.949 MB / 0.8459 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000413/1.562, allocations: 227.9 kB / 0.8461 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/1.564, allocations: 293.5 kB / 0.8464 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/1.586, allocations: 4.211 MB / 0.8505 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001496/1.586, allocations: 7.625 kB / 0.8505 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001388/1.587, allocations: 124.7 kB / 0.8506 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/1.587, allocations: 74.5 kB / 0.8507 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/1.608, allocations: 4.596 MB / 0.8552 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04381/1.652, allocations: 12.77 MB / 0.8677 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/1.667, allocations: 3.783 MB / 0.8713 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004629/1.672, allocations: 1.56 MB / 0.8729 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001569/1.673, allocations: 1.078 MB / 0.8739 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007954/1.681, allocations: 1.934 MB / 0.8758 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=223): time 1.006e-05/1.681, allocations: 4 kB / 0.8758 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223): time 0.02676/1.708, allocations: 4.908 MB / 0.8806 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002862/1.709, allocations: 258.2 kB / 0.8809 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006926/1.716, allocations: 1.947 MB / 0.8828 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001226/1.717, allocations: 63.58 kB / 0.8828 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002277/1.719, allocations: 1.242 MB / 0.884 GB, free: 15.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002736/1.722, allocations: 0.747 MB / 0.8848 GB, free: 15.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002561/1.725, allocations: 0.5141 MB / 0.8853 GB, free: 14.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002095/1.725, allocations: 305.1 kB / 0.8856 GB, free: 14.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006533/1.731, allocations: 1.426 MB / 0.8869 GB, free: 13.26 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007556/1.739, allocations: 1.751 MB / 0.8887 GB, free: 11.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01431/1.753, allocations: 3.163 MB / 0.8917 GB, free: 8.191 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/1.753, allocations: 4 kB / 0.8917 GB, free: 8.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01834/1.772, allocations: 3.683 MB / 0.8953 GB, free: 4.523 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/1.772, allocations: 4.469 kB / 0.8953 GB, free: 4.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/1.772, allocations: 12 kB / 0.8954 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009066/1.773, allocations: 99.83 kB / 0.8955 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006423/1.779, allocations: 0.7065 MB / 0.8961 GB, free: 3.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/1.784, allocations: 1.635 MB / 0.8977 GB, free: 1.961 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.79, allocations: 441.4 kB / 0.8982 GB, free: 1.527 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/1.791, allocations: 127.9 kB / 0.8983 GB, free: 1.402 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.00454/1.796, allocations: 0.7995 MB / 0.8991 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/1.798, allocations: 233.2 kB / 0.8993 GB, free: 400 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02104/1.819, allocations: 4.014 MB / 0.9032 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/1.819, allocations: 27.94 kB / 0.9032 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/1.819, allocations: 4 kB / 0.9032 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/1.819, allocations: 19.94 kB / 0.9033 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/1.848, allocations: 7.183 MB / 0.9103 GB, free: 5.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.293e-05/1.848, allocations: 3.984 kB / 0.9103 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005779/1.854, allocations: 0.5951 MB / 0.9109 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000863/1.855, allocations: 72.8 kB / 0.9109 GB, free: 4.375 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.856, allocations: 71.94 kB / 0.911 GB, free: 4.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003566/1.859, allocations: 1.666 MB / 0.9126 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.859, allocations: 0 / 0.9126 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/1.88, allocations: 3.332 MB / 0.9159 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005241/1.885, allocations: 0.6769 MB / 0.9165 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/1.888, allocations: 71.61 kB / 0.9166 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/1.894, allocations: 277.5 kB / 0.9169 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/1.896, allocations: 157.8 kB / 0.917 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008087/1.897, allocations: 84.02 kB / 0.9171 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.006675/1.903, allocations: 1.47 MB / 0.9185 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.673e-06/1.903, allocations: 0 / 0.9185 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.007441/1.911, allocations: 0.8723 MB / 0.9194 GB, free: 11.52 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.02228/1.933, allocations: 4.471 MB / 0.9238 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.948, allocations: 3.352 MB / 0.927 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.826e-05/1.948, allocations: 4 kB / 0.927 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007786/1.956, allocations: 1.714 MB / 0.9287 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005475/1.962, allocations: 466.3 kB / 0.9292 GB, free: 1.844 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08492/2.047, allocations: 23.32 MB / 0.9519 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002381/2.049, allocations: 2.221 MB / 0.9541 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.004336/2.053, allocations: 0.962 MB / 0.955 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004146/2.058, allocations: 1.323 MB / 0.9563 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of SimCode: time 2.765e-06/2.058, allocations: 3.094 kB / 0.9563 GB, free: 5.672 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/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.175/2.233, allocations: 60.23 MB / 1.015 GB, free: 9.988 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.77/20, allocations: 11.22 kB / 1.015 GB, free: 9.984 MB / 0.795 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_LIDEAS_Examples_BaseClasses_SimInfoManagerInputs.fmu > IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.pipe 2>&1)