Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles",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.007357/0.007357, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001678/0.001679, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7697/0.7697, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 62.94 kB / 0.5851 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 80.92 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5601/0.7187, allocations: 167 MB / 0.8272 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.7407, allocations: 17.12 MB / 0.8439 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.7427, allocations: 31.97 kB / 0.844 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.7447, allocations: 0.5334 MB / 0.8445 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.7507, allocations: 1.67 MB / 0.8461 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003916/0.7546, allocations: 1.408 MB / 0.8475 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003363/0.758, allocations: 2.553 MB / 0.85 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002377/0.7604, allocations: 1.949 MB / 0.8519 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003812/0.7642, allocations: 1.408 MB / 0.8533 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.7658, allocations: 1.036 MB / 0.8543 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.7661, allocations: 208.1 kB / 0.8545 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.7691, allocations: 1.545 MB / 0.856 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006703/0.7698, allocations: 0.7767 MB / 0.8567 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.771, allocations: 1.189 MB / 0.8579 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004618/0.7756, allocations: 3.559 MB / 0.8614 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7756, allocations: 0 / 0.8614 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7756, allocations: 0 / 0.8614 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.083e-05/0.7757, allocations: 0 / 0.8614 GB, free: 5.445 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004297/0.78, allocations: 2.812 MB / 0.8641 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.78, allocations: 9.109 kB / 0.8641 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002626/0.7803, allocations: 248.6 kB / 0.8644 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003425/0.7837, allocations: 0.5551 MB / 0.8649 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.7874, allocations: 3.405 MB / 0.8682 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/0.7875, allocations: 127.3 kB / 0.8684 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.7877, allocations: 163.9 kB / 0.8685 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.7907, allocations: 1.888 MB / 0.8704 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/0.7908, allocations: 4 kB / 0.8704 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.7909, allocations: 72 kB / 0.8704 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.791, allocations: 40 kB / 0.8705 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003234/0.7942, allocations: 2.069 MB / 0.8725 GB, free: 9.879 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008474/0.8027, allocations: 6.171 MB / 0.8785 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002934/0.8056, allocations: 2.033 MB / 0.8805 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.8068, allocations: 0.7451 MB / 0.8812 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005462/0.8073, allocations: 433.6 kB / 0.8816 GB, free: 100 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/0.8089, allocations: 0.9428 MB / 0.8826 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 2.936e-06/0.8089, allocations: 0 / 0.8826 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006149/0.8151, allocations: 2.875 MB / 0.8854 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.8152, allocations: 197.2 kB / 0.8856 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004182/0.8194, allocations: 4.053 MB / 0.8895 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.8195, allocations: 53.7 kB / 0.8896 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006961/0.8202, allocations: 0.8748 MB / 0.8904 GB, free: 6.906 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.8206, allocations: 461.1 kB / 0.8909 GB, free: 6.449 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/0.821, allocations: 226.8 kB / 0.8911 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8211, allocations: 357.9 kB / 0.8914 GB, free: 5.867 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.8221, allocations: 0.5491 MB / 0.892 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.8233, allocations: 0.7705 MB / 0.8927 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.8254, allocations: 1.275 MB / 0.894 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8254, allocations: 0 / 0.894 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00357/0.829, allocations: 1.725 MB / 0.8956 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.8291, allocations: 8 kB / 0.8957 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.8291, allocations: 0 / 0.8957 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.8301, allocations: 216.1 kB / 0.8959 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.8315, allocations: 311.6 kB / 0.8962 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00627/0.8378, allocations: 7.32 MB / 0.9033 GB, free: 8.887 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.8394, allocations: 154.7 kB / 0.9035 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.8395, allocations: 56.03 kB / 0.9035 GB, free: 8.68 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (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 (133): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009381/0.8404, allocations: 469.5 kB / 0.904 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/0.8408, allocations: 181.8 kB / 0.9041 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.845, allocations: 2.063 MB / 0.9061 GB, free: 5.941 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.845, allocations: 16 kB / 0.9062 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.845, allocations: 4 kB / 0.9062 GB, free: 5.922 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.845, allocations: 7.969 kB / 0.9062 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006359/0.8514, allocations: 3.96 MB / 0.91 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.8514, allocations: 0 / 0.91 GB, free: 1.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.8528, allocations: 315.6 kB / 0.9103 GB, free: 1.566 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00081/0.8536, allocations: 196.1 kB / 0.9105 GB, free: 1.359 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.8537, allocations: 39.97 kB / 0.9106 GB, free: 1.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/0.8594, allocations: 7.363 MB / 0.9177 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8594, allocations: 0 / 0.9177 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003854/0.8633, allocations: 1.93 MB / 0.9196 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008829/0.8642, allocations: 0.4904 MB / 0.9201 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.8644, allocations: 28 kB / 0.9201 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8655, allocations: 104.9 kB / 0.9202 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.8657, allocations: 101.1 kB / 0.9203 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.8658, allocations: 71.95 kB / 0.9204 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003169/0.869, allocations: 3.116 MB / 0.9234 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.51e-07/0.869, allocations: 0 / 0.9234 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001766/0.8708, allocations: 0.6391 MB / 0.9241 GB, free: 2.723 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005587/0.8764, allocations: 3.13 MB / 0.9271 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.8798, allocations: 1.988 MB / 0.9291 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.8798, allocations: 4.797 kB / 0.9291 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/0.8818, allocations: 1.375 MB / 0.9304 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.8839, allocations: 0.5409 MB / 0.9309 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03057/0.9145, allocations: 20.74 MB / 0.9512 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/0.9157, allocations: 1.513 MB / 0.9527 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00167/0.9173, allocations: 0.5166 MB / 0.9532 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.9185, allocations: 0.8741 MB / 0.954 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of SimCode: time 6.72e-07/0.9185, allocations: 0 / 0.954 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09885/1.017, allocations: 47.28 MB / 1 GB, free: 4.887 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.99, allocations: 0 / 1 GB, free: 4.887 MB / 0.7637 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1)